您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 信息化管理 > 基于Matlab的虚拟信号发生器设计
MATLABMatrixLaboratoryMathWorks。MATLAB、、、、、、、、、。GraphicalUserInterfaceGUI。。MatlabGUI[1]。。。、、、。。、、、、、、。1、、、。。。、、、、、。GUI。2。2、、、、。3。。。4。。[1]http://tieba.baidu.com/f芽kz=478777786[O/L].[2][]RobertC.Martin.AgileSoftwareDevelopment:Principles,Patterns,andPractices[M].PearsonEducation.[3].4[M]..[4][]FederovAlexNataliaElmanova.AdvancedDelphiDevelo-per'sGuidetoADO[5]RayLiscbner.Delphi[M]..2009-12-15*430072。201021MatlabMatlabTP391.9A1002-2422201001-0003-02AVirtualSignalGeneratorBasedonMatlabCheZipingAbstract:Matlabisapracticalsoftwarewithverystrongfunctionfordataanalysisandprocess.DataacquisitiontoolboxofKeyword:。GUIMatlab。Matlabpapercouldenrichtheunderstandingofthesignalprocessingandalsohavesomemerit.。Matlaboffersveryconvenientfunctionandorderforrealizingtheinput&outputofdata.ThepaperintroducesthedesignofavirtualsignalgeneratorbyusingGUItoolboxbasedonMatlab.Thesignalgeneratordesignedinthis*MatlabMatlabSignalGeneratorVirtualInstrument......................................................................................................................................·3·1。1。。GUI。TagradioZHENGXIANax-es2、sliderPINLV、slider-FUZHI、sliderXIANGWEI、editPINLV、editFUZHI、editXIANGWEI。。functionradioZHENGXIAN_CallbackhObject,eventdata,handlessethObject,'value',1%1sethandles.radioFANGBO,'value',0%0sethandles.radioSANJIAOBO,'value',0sethandles.radioJUCHIBO,'value',0sethandles.radioBAIZAOSHENG,'value',0sethandles.radioMAICHONG,'value',0sethandles.radioJIEYUE,'value',0sethandles.radioXIEPO,'value',0sethandles.sliderPINLV,'enable','on'%sethandles.sliderFUZHI,'enable','on'%sethandles.sliderXIANGWEI,'enable','on'%sethandles.sliderK,'enable','off't=0:pi/360:8觹pi;y=sin0.2觹pi觹t;cla;axeshandles.axes2;plott,y;grid;axis[0,8觹pi,-1.2,1.2];[-1.2,1.2]functionsliderPINLV_CallbackhObject,eventdata,handlesf=gethObject,'value';%fsethandles.editPINLVS,'string',num2strf;%editPINLVSA=str2numgethandles.editFUZHI,'string';%AP=str2numgethandles.editXIANGWEI,'string';%PZHENGXIAN=gethandles.radioZHENGXIAN,'value';%ZHENGXIANFANGBO=gethandles.radioFANGBO,'value';%FANGBOSANJIAOBO=gethandles.radioSANJIAOBO,'value';%SANGJIAOBOJUCHIBO=gethandles.radioJUCHIBO,'value';%JUCHIBO%。ifZHENGXIAN==1%t=0:pi/360:8觹pi;y=A觹sin2觹pi觹f觹t+P觹2觹pi;axeshandles.axes2;plott,y;grid;axis[0,8觹pi,-1.2,1.2];elseifFANGBO==1%t=0:0.001:6;y=A觹square2觹pi觹f觹t+4觹P/f,50;axeshandles.axes2;plott,y;axis[0,6,-1.2,1.2];elseifJUCHIBO==1%t=0:0.01:20;y=A觹sawtoothpi觹f觹t+4觹P/f,1;axeshandles.axes2;plott,y;grid;axis[0,20,-1.2,1.2];elseSANJIAOBO==1%t=0:0.01:20;y=A觹sawtoothpi觹f觹t+4觹P/f,0.5;axeshandles.axes2;plott,y;grid;axis[0,20,-1.2,1.2];end%3matlab、、DTMF。。[1].MATLAB6.5.:2003.·4·
本文标题:基于Matlab的虚拟信号发生器设计
链接地址:https://www.777doc.com/doc-4768953 .html