📄 iirexpo.m
字号:
% --- Executes on button press in doFilter.function doFilter_Callback(hObject, eventdata, handles) iirexpofn 'apply_filter';% --- Executes on button press in undo.function undo_Callback(hObject, eventdata, handles) iirexpofn 'undo';% --------------------------------------------------------------------function save_Callback(hObject, eventdata, handles)% hObject handle to save (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) iirexpofn 'save';% --------------------------------------------------------------------function help_Callback(hObject, eventdata, handles)% hObject handle to help (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) iirexpofn 'help';% --- Executes during object creation, after setting all properties.function freqzoom_CreateFcn(hObject, eventdata, handles)% hObject handle to freqzoom (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: slider controls usually have a light gray background, change% 'usewhitebg' to 0 to use default. See ISPC and COMPUTER.usewhitebg = 1;if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]);else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on slider movement.function freqzoom_Callback(hObject, eventdata, handles)% hObject handle to freqzoom (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'Value') returns position of slider% get(hObject,'Min') and get(hObject,'Max') to determine range of slider iirexpofn 'freqzoom';% --- Executes on button press in zoomreset.function zoomreset_Callback(hObject, eventdata, handles)% hObject handle to zoomreset (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) iirexpofn 'zoomreset';% --------------------------------------------------------------------function Untitled_1_Callback(hObject, eventdata, handles)% hObject handle to Untitled_1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function pzexpo_Callback(hObject, eventdata, handles)% hObject handle to pzexpo (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) iirexpofn 'pzexpo';% --------------------------------------------------------------------function pzfilterexpo_Callback(hObject, eventdata, handles)% hObject handle to pzfilterexpo (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) iirexpofn 'pzfilterexpo';% --- Executes on button press in pushbutton12.function pushbutton12_Callback(hObject, eventdata, handles)% hObject handle to pushbutton12 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes on button press in pushbutton13.function pushbutton13_Callback(hObject, eventdata, handles)% hObject handle to pushbutton13 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes on button press in pushbutton14.function pushbutton14_Callback(hObject, eventdata, handles)% hObject handle to pushbutton14 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes on button press in pushbutton15.function pushbutton15_Callback(hObject, eventdata, handles)% hObject handle to pushbutton15 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes on button press in normalize.function normalize_Callback(hObject, eventdata, handles)% hObject handle to normalize (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) iirexpofn 'normalize';% --------------------------------------------------------------------function Untitled_2_Callback(hObject, eventdata, handles)% hObject handle to Untitled_2 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function fourier_Callback(hObject, eventdata, handles)% hObject handle to fourier (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) iirexpofn 'fourier';% --- Executes during object creation, after setting all properties.function type_CreateFcn(hObject, eventdata, handles)% hObject handle to type (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: popupmenu controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end% --- Executes on selection change in type.function type_Callback(hObject, eventdata, handles)% hObject handle to type (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,'String') returns type contents as cell array% contents{get(hObject,'Value')} returns selected item from type contents = get(hObject,'String'); switch lower(contents{get(hObject,'Value')}) case 'elliptical' set(handles.rp,'Visible','on'); set(handles.rs,'Visible','on'); case 'chebyshev' set(handles.rp,'Visible','on'); set(handles.rs,'Visible','off'); otherwise set(handles.rp,'Visible','off'); set(handles.rs,'Visible','off'); end% --- Executes during object creation, after setting all properties.function rp_CreateFcn(hObject, eventdata, handles)% hObject handle to rp (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction rp_Callback(hObject, eventdata, handles)% hObject handle to rp (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of rp as text% str2double(get(hObject,'String')) returns contents of rp as a double% --- Executes during object creation, after setting all properties.function rs_CreateFcn(hObject, eventdata, handles)% hObject handle to rs (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction rs_Callback(hObject, eventdata, handles)% hObject handle to rs (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of rs as text% str2double(get(hObject,'String')) returns contents of rs as a double% --------------------------------------------------------------------function convexpo_Callback(hObject, eventdata, handles)% hObject handle to convexpo (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) iirexpofn 'convexpo';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -