【正文】
39。)。 xlabel(39。時(shí)間 /t39。)。 ylabel(39。幅值 39。)。 axes() cla。 plot(abs(m6),39。y39。)。 title(39。IIR濾波后信號(hào)頻譜 39。)。 xlabel(39。頻率 /HZ39。)。 ylabel(39。幅值 39。)。 % Executes on selection change in tag_choose. function tag_choose_Callback(hObject, eventdata, handles) % hObject handle to tag_choose (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: contents = get(hObject,39。String39。) returns tag_choose contents as cell array % contents{get(hObject,39。Value39。)} returns selected item from tag_choose % Executes during object creation, after setting all properties. function tag_choose_CreateF(hObject, eventdata, handles) % hObject handle to tag_choose (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: popupmenu controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc set(hObject,39。BackgroundColor39。,39。white39。)。 else set(hObject,39。BackgroundColor39。,get(0,39。defaultUicontrolBackgroundColor39。))。 end % Executes on button press in tag_return. function tag_return_Callback(hObject, eventdata, handles) % hObject handle to tag_return (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) global z0。 global z1。 global z2。 global z3。 global yy。 val=get(,39。Value39。)。 if(val==1) [yy,fs,nbits]=wavread(39。D:\39。)。 %語(yǔ)音信號(hào)加載 sound(yy,fs)。 %回放語(yǔ)音 end if(val==2) sound(z1,22050)。 end if(val==3) sound(z3,22050)。 end if(val==4) sound(z2,22050)。 end % Executes on mouse press over axes background. function axes1_ButtonDownF(hObject, eventdata, handles) % hObject handle to axes1 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % If Enable == 39。on39。, executes on mouse press in 5 pixel border. % Otherwise, executes on mouse press in 5 pixel border or over tag_start. function tag_start_ButtonDownF(hObject, eventdata, handles) % hObject handle to tag_start (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) 采樣后信號(hào) 濾波器數(shù)字波形 IIR低通濾波后波形圖 IIR高通濾波后波形圖 IIR帶通濾波后波形圖