资源描述:
《基于matlab的频谱分析仪设计》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、FrequencyAnalyzerYangXiaoM2013705103HuaZhongUniversityofScienceandTechnologySchoolofMechanicalScienceandEngineeringAbstract:MatlabIsanumericalanalysis,matrixcalculation,scientificdatavisualizationandnonlineardynamicstatesystemmodelingandsimulation,andotherfunctionsofpra
2、cticalsoftwareengineering.It’seasytousethewindowsenvironmentandcastoffatraditionontheinteractiveprogramminglanguage(suchasC,Fortran)EditmodeInlargerange.Inthisreport,Thetaskistodesignafrequencyanalyzerbyusingmatlab.Keyword:frequencyanalyzer;Matlab;time-domainanalysis;fr
3、equency-domainanalysis;1.PrefaceMATLABiscalledMatrixLaboratory,whichisdesignedbytheUnitedStatesMathWorkscompany.It’sacommercialmathematicalsoftware.MatlabcanbeuseforMatrixoperations,mappingfunctionsanddata,algorithm,creatingtheuserinterface,connecttootherprogramminglang
4、uagesprocedures,mainlyusedinengineeringcalculations,controldesign,signalprocessingandcommunications,imageprocessing,signaldetection,designandfinancialmodelinganalysisandotherfields.GUI(GraphicalUserInterface,referredtoasGUI,knownGraphicalUserInterface)isdisplayedusingth
5、egraphicaluserinterfaceofcomputeroperations..MatlabhasapowerfulGUltool.Inthisreport,byusingmatlabGUItoolwecoulddesignafrequencyanalyzer.Frequencyanalyzeristheinstrumentwhichcouldbeusedtostudythestructureoftheelectricalsignalspectrum,andusedtomeasurethesignalparametersof
6、signaldistortion,modulation,frequencystabilityandspectralpurity.Frequencyanalyzercouldbeusedtomeasuresomeparametersofamplifierandfiltercircuitsystem,anditisakindofmultipurposeelectronicmeasuringinstrument.FFT(FastFourierTransformation)isthefastalgorithmofDFT(discreteFou
7、riertransformtion),whichisbasedondiscreteFouriertransform.ByusingFFTwecouldgettheanswerfasterthanDFT.2.IntroduceThefrequencyanalyzerwhichisdesignedbyusingmatlabhavethreemodels:record,playwavfileandgeneratorsomewaves.Everymodelcouldmakethreekindsofwaveforms:thetimedomain
8、figure,thefrequencyspectrumdomainfigureandthepowerspectrumfigure.Wecouldgetthemessagewewantfromthefrequencyana