?? filter.m
字號:
function varargout = FILTER(varargin)
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @FILTER_OpeningFcn, ...
'gui_OutputFcn', @FILTER_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before FILTER is made visible.
function FILTER_OpeningFcn(hObject, eventdata, handles, varargin)
%Importamos imagen *.jpg,junto con su mapa de colores
[x,map]=imread('circuit.jpg','jpg');
%Representamos imagen en figura, con su mapa de colores
image(x),colormap(map),axis off,hold on
% Choose default command line output for FILTER
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes FILTER wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = FILTER_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --- Executes on button press in Butterworth_high.
function Butterworth_high_Callback(hObject, eventdata, handles)
% hObject handle to Butterworth_high (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
Butterworth
close FILTER
% --- Executes on button press in Chebyshev_I_high.
function Chebyshev_I_high_Callback(hObject, eventdata, handles)
% hObject handle to Chebyshev_I_high (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
CHEVYSHEV_I_high
close FILTER
% --- Executes on button press in Chebyshev_II_high.
function Chebyshev_II_high_Callback(hObject, eventdata, handles)
% hObject handle to Chebyshev_II_high (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
CHEVYSHEV_II_high
close FILTER
% --- Executes on button press in Elliptic_high.
function Elliptic_high_Callback(hObject, eventdata, handles)
% hObject handle to Elliptic_high (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
ELLIPTIC_high
close FILTER
% --- Executes on button press in Butterworth_low.
function Butterworth_low_Callback(hObject, eventdata, handles)
% hObject handle to Butterworth_low (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
Butterworth_low
close FILTER
% --- Executes on button press in Chebyshev_I_low.
function Chebyshev_I_low_Callback(hObject, eventdata, handles)
% hObject handle to Chebyshev_I_low (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
CHEVYSHEV_I_low
close FILTER
% --- Executes on button press in pushbutton7.
function pushbutton7_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton7 (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 Elliptic_low.
function Elliptic_low_Callback(hObject, eventdata, handles)
% hObject handle to Elliptic_low (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
ELLIPTIC_low
close FILTER
% --- Executes on button press in Chebyshev_II_low.
function Chebyshev_II_low_Callback(hObject, eventdata, handles)
% hObject handle to Chebyshev_II_low (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
CHEVYSHEV_II_low
close FILTER
% --- Executes on button press in Butterworth_SB.
function Butterworth_SB_Callback(hObject, eventdata, handles)
% hObject handle to Butterworth_SB (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
Butterworth_stopband
close FILTER
% --- Executes on button press in Butterworth_BP.
function Butterworth_BP_Callback(hObject, eventdata, handles)
% hObject handle to Butterworth_BP (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
Butterworth_bandpass
close FILTER
% --- Executes on button press in Chebyshev_I_SB.
function Chebyshev_I_SB_Callback(hObject, eventdata, handles)
% hObject handle to Chebyshev_I_SB (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
CHEVYSHEV_I_stopband
close FILTER
% --- Executes on button press in Chebyshev_I_BP.
function Chebyshev_I_BP_Callback(hObject, eventdata, handles)
% hObject handle to Chebyshev_I_BP (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
CHEVYSHEV_I_bandpass
close FILTER
% --- Executes on button press in Chebyshev_II_SB.
function Chebyshev_II_SB_Callback(hObject, eventdata, handles)
% hObject handle to Chebyshev_II_SB (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
CHEVYSHEV_II_stopband
close FILTER
%--- 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 Elliptic_SB.
function Elliptic_SB_Callback(hObject, eventdata, handles)
% hObject handle to Elliptic_SB (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
ELLIPTICI_stopband
close FILTER
% --- Executes on button press in Elliptic_BP.
function Elliptic_BP_Callback(hObject, eventdata, handles)
% hObject handle to Elliptic_BP (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
ELLIPTICI_passband
close FILTER
% --- Executes on button press in Chebyshev_II_BP.
function Chebyshev_II_BP_Callback(hObject, eventdata, handles)
% hObject handle to Chebyshev_II_BP (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
CHEVYSHEV_II_bandpass
close FILTER
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -