全文预览

课程设计:应用matlab对语音信号进行频谱分析及滤波

上传者:qnrdwb |  格式:doc  |  页数:20 |  大小:243KB

文档介绍
- Executes on button press in radiobutton2.Рfunction radiobutton2_Callback(hObject, eventdata, handles)Р% hObject handle to radiobutton2 (see GCBO)Р% eventdata reserved - to be defined in a future version of MATLABР% handles structure with handles and user data (see GUIDATA)Р% Hint: get(hObject,'Value') returns toggle state of radiobutton2Рglobal y %IIR部分程序Рpopup_sel_index = get(handles.popupmenu1, 'Value');Р%------------------------------------------------------------------------%Рif popup_sel_index==2 Р str={'fs1=','fb=','fc=','As=','Ap='};Р strdef={'16000','1000','1200','100','1'};Р date=InputDlg(str,'Please input the paramater',1,strdef);Р if ~isempty(date)Р fs1=str2double(date(1));Р fb=str2double(date(2));Р fc=str2double(date(3));Р As=str2double(date(4));Р Ap=str2double(date(5));Р end

收藏

分享

举报
下载此文档