预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共16页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

基于MATLABGUI的语音信号采集分析系统前一阵子用MATLABGUI做了一个语音信号采集与分析的界面。功能包括录音、播放、时域、频域分析吧。也导入本地文件进行分析。效果如下:源码如下:functionvarargout=GUI_1(varargin)%GUI_1MATLABcodeforGUI_1.fig%GUI_1byitselfcreatesanewGUI_1orraisestheexisting%singleton*.%%H=GUI_1returnsthehandletoanewGUI_1orthehandleto%theexistingsingleton*.%%GUI_1('CALLBACK'hObjecteventDatahandles...)callsthelocal%functionnamedCALLBACKinGUI_1.Mwiththegiveninputarguments.%%GUI_1('Property''Value'...)createsanewGUI_1orraisesthe%existingsingleton*.Startingfromtheleftpropertyvaluepairsare%appliedtotheGUIbeforeGUI_1_OpeningFcngetscalled.An%unrecognizedpropertynameorinvalidvaluemakespropertyapplication%stop.AllinputsarepassedtoGUI_1_OpeningFcnviavarargin.%%*SeeGUIOptionsonGUIDE'sToolsmenu.Choose"GUIallowsonlyone%instancetorun(singleton)".%%Seealso:GUIDEGUIDATAGUIHANDLES%EdittheabovetexttomodifytheresponsetohelpGUI_1%LastModifiedbyGUIDEv2.525-May-201520:52:27%Begininitializationcode-DONOTEDITgui_Singleton=1;gui_State=struct('gui_Name'mfilename...'gui_Singleton'gui_Singleton...'gui_OpeningFcn'@GUI_1_OpeningFcn...'gui_OutputFcn'@GUI_1_OutputFcn...'gui_LayoutFcn'[]...'gui_Callback'[]);ifnargin&&ischar(varargin{1})gui_State.gui_Callback=str2func(varargin{1});endifnargout[varargout{1:nargout}]=gui_mainfcn(gui_Statevarargin{:});elsegui_mainfcn(gui_Statevarargin{:});end%Endinitializationcode-DONOTEDIT%---ExecutesjustbeforeGUI_1ismadevisible.functionGUI_1_OpeningFcn(hObject~handlesvarargin)%ThisfunctionhasnooutputargsseeOutputFcn.%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduser