【正文】
2劉波 .MATLAB信號處理 [M].北京:電子工業(yè)出版社, 2020。CALLBACK39。Property39。Value39。s Tools menu. Choose GUI allows only one % instance to run (singleton). % % See also: GUIDE, GUIDATA, GUIHANDLES % Edit the above text to modify the response to help lyl % Last Modified by GUIDE 25Jun2020 20:22:38 % Begin initialization code DO NOT EDIT gui_Singleton = 1。gui_Name39。gui_Singleton39。gui_OpeningF39。gui_OutputF39。gui_LayoutF39。gui_Callback39。 if nargin amp。 ischar(varargin{1}) = str2func(varargin{1})。 else gui_mainf(gui_State, varargin{:})。 % Update handles structure guidata(hObject, handles)。 % Outputs from this function are returned to the mand line. function varargout = lyl_OutputF(hObject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT)。 function edit1_Callback(hObject, eventdata, handles) % hObject handle to edit1 (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,39。) returns contents of edit1 as text % str2double(get(hObject,39。)) returns contents of edit1 as a double % Executes during object creation, after setting all properties. function edit1_CreateF(hObject, eventdata, handles) % hObject handle to edit1 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 isequal(get(hObject,39。), get(0,39。)) set(hObject,39。,39。)。String39。String39。amp。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。white39。 end function edit3_Callback(hObject, eventdata, handles) % hObject handle to edit3 (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,39。) returns contents of edit3 as text % str2double(get(hObject,39。)) returns contents of edit3 as a double % Executes during object creation, after setting all properties. function edit3_CreateF(hObject, eventdata, handles) % hObject handle to edit3 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs 課程設(shè)計 第 32 頁 共 44 頁 called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 isequal(get(hObject,39。), get(0,39。)) set(hObject,39。,39。)。String39。String39。amp。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。white39。 end 課程設(shè)計 第 33 頁 共 44 頁 function edit5_Callback(hObject, eventdata, handles) % hObject handle to edit5 (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,39。) returns contents of edit5 as text % str2double(get(hObject,39。)) returns contents of edit5 as a double % Executes during object creation, after setting all properties. function edit5_CreateF(hObject, eventdata, handles) % hObject handle to edit5 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 isequal(get(hObject,39。), get(0,39。)) set(hObject,39。,39。)。String39。String39。amp。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。white39。 end function edit7_Callback(hObject, eventdata, handles) % hObject handle to edit7 (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,39。) returns contents of edit7 as text % str2double(get(hObject,39。)) returns contents of edit7 as a double % Executes during object creation, after setting all properties. function edit7_CreateF(hObject, eventdata, handles) % hObject handle to edit7 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 isequal(get(hObject,39。), get(0,39。)) set(hObject,39。,39。)。String39。String39。amp。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。white39。 end function edit9_Callback(hObject, eventdata, handles) % hObject handle to edit9 (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,39。) returns contents of edit9 as text % str2double(get(hObject,39。)) returns contents of edit9 as a double 課程設(shè)計 第 36 頁 共 44 頁 % Executes during object creation, after setting all properties. function edit9_CreateF(hObject, eventdata, handles) % hObject handle to edit9 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: edit controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 isequal(get(hObject,39。), get(0,39。)) set(hObject,39。,39。)。 t=get(,39。)。String39。Value39。amp。BackgroundColor39。defaultUicontrolBackgroundColor39。