:ComputerKnowledgeandTechnology529(200910)MATLABJC,((),257061):JC,,MATLAB7.0(GUI),JCGUI。:JC;MATLAB;GUI:TP311:A:1009-3044(2009)29-8181-02DesignoftheCalculationProgramofStructuralReliabilityIndexBasedonJCMethodUsingMATLABZHANGLiang,ZHAONa(PropagandaDepartmentChinaUniversityofPetroleum(EastChina),Dongying257061,China)Abstract:ThispaperexpoundstheprincipleofthecalculationofreliabilityindexadoptingJCmethod.Onthebasisofthosementionedabove,thecalculationprogramofreliabilityindexisdesigned,usinggraphicaluserinterface(GUI)ofMATLAB7.0.Thepackageprovidesasimpleinterfaceforsolvingthecalculationofreliabilityindex.Keywords:JCmethod;MATLAB;GUI1JCJC[1-2],,,。(1)P*(x1*,x2*,…,xn*),P*,,f*(x1*,x2*,…,xn*)=0,(2)(3)(4)β,(5)(5)(6)(7):1)xi*,XiN(μXiN,σXiN)GXiN(xi)Xi(μXi,σXi)FXi(xi*);2),XiNgXiN(xi)XifXi(xi*)。1。:2009-07-19:(1981-),,,;(1981-),,,。ISSN1009-3044ComputerKnowledgeandTechnologyVol.5,No.29,October2009,pp.8181-8182,8185E-mail:xsjl@cccc.net.cn:ComputerKnowledgeandTechnology529(200910)1)2)μXi*σXiN。(8)(9)2MATLABJC2.1MATLABMATLABMathWorks1984,,、、。MAT-LAB(toolboxes),40,,MATLAB。Fortran、C,MATLAB、、,,。2.2,,,,MATLAB,,。2JC[3]。2MATLAB[4-5]:functionbbeta=JC_3(muX,cvX)sigmaX=cvX.*muX;sLn=sqrt(log(1+(sigmaX(1)/muX(1))^2));mLn=log(muX(1))-sLn^2/2;aEv=sqrt(6)*sigmaX(3)/pi;uEv=-psi(1)*aEv-muX(3);muX1=muX;sigmaX1=sigmaX;x=muX;normX=eps;whileabs(norm(x)-normX)/normX1e-6normX=norm(x);g=x(1)-x(2)-x(3);gX=[1;-1;-1];cdfX=[logncdf(x(1),mLn,sLn);1-evcdf(-x(3),uEv,aEv)];pdfX=[lognpdf(x(1),mLn,sLn);evpdf(-x(3),uEv,aEv)];nc=norminv(cdfX);sigmaX1(1:2:3)=normpdf(nc)./pdfX;muX1(1:2:3)=[x(1:2:3)-nc.*sigmaX1(1:2:3)];gs=gX.*sigmaX1;alphaX=-gs/norm(gs);bbeta=(g+gX'*(muX1-x))/norm(gs);x=muX1+bbeta*sigmaX1.*alphaX;endPF=normcdf(-bbeta);MATLAB7.0figGUI,MGUI,GUI、[6]。MATLAB7.0,guidenewGUI,GUI。,;,,。,Tag,,m。,m,,Callback(),。3、。。[7],R,S,L,R=319.52,VR=0.17;S=53.0,Vs=0.07;L=70.0,VL=0.29。β=3.69546。3。,MATLABxlsreadEXCEL。、,,。“EXCEL”。(8185)12JC38182:ComputerKnowledgeandTechnology529(200910)(8182)4,JC。MATLABJC,,JC。MATLAB、,,,GUI,、。:[1].[M].:,1996.[2].[M].:,2003.[3].—[J].,1997(12):36-38.[4],,.Matlab[J].,2005,31(3):1-4.[5].—[M].:,2009.[6]..Matlab7[M].:,2006.[7],,.[J].,2003,20(1):30-36.SimpleCursorAdapteradapter2=newSimpleCursorAdapter(this,android.R.layout.simple_spinner_item,//TextViewcur,//GivethecursortothelistadatpernewString[]{People.NAME},//NAMEnewint[]{android.R.id.text1});adapter2.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item;s2.setAdapter(adapter2);AndroidAdapterView.OnItemClickListener,://privateOnItemClickListenermMessageClickedHandler=newOnItemClickListener(){publicvoidonItemClick(AdapterViewparent,Viewv,intposition,longid){//MessageBox.showAlert(You'vegotanevent,Clickedme!,ok,false);}};//,mHistoryView=(ListView)findViewById(R.id.accept_button);mHistoryView.setOnItemClickListener(mMessageClickedHandler);4Android,。Android,Android。Android,,。AndroidJ2ME。:[1],.Android[J].,2008(11):110-112.[2],.AndroidJ2ME[J].,2008(12):118-120.[3],.Android[J].,2008(8):86-89.[4]3G[J].,2007(2):50-51.[5].Android[OL].[6],.J2ME[J].,2003,23(3):124-126.[7].Java[D].,2005.[8],,.[J].,2006,27(4):575-577.[9],.J2ME[J].,2005,14(11):86-88.[10].Eclipse[M].:,2006.8185