Professional Documents
Culture Documents
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
HDB3
FRECUENCIA % --- Outputs from this function are returned to the command line.
function varargout = Practica9_Frecuencia_OutputFcn(hObject, eventdata,
function varargout = Practica9_Frecuencia(varargin) handles)
% PRACTICA9_FRECUENCIA MATLAB code for Practica9_Frecuencia.fig % varargout cell array for returning output args (see VARARGOUT);
% PRACTICA9_FRECUENCIA, by itself, creates a new % hObject handle to figure
PRACTICA9_FRECUENCIA or raises the existing % eventdata reserved - to be defined in a future version of MATLAB
% singleton*. % handles structure with handles and user data (see GUIDATA)
%
% H = PRACTICA9_FRECUENCIA returns the handle to a new % Get default command line output from handles structure
PRACTICA9_FRECUENCIA or the handle to varargout{1} = handles.output;
% the existing singleton*.
%
% PRACTICA9_FRECUENCIA('CALLBACK',hObject,eventData,handles,...) % --- Executes on selection change in popupmenu1.
calls the local function popupmenu1_Callback(hObject, eventdata, handles)
% function named CALLBACK in PRACTICA9_FRECUENCIA.M with the % hObject handle to popupmenu1 (see GCBO)
given input arguments. % eventdata reserved - to be defined in a future version of MATLAB
% % handles structure with handles and user data (see GUIDATA)
% PRACTICA9_FRECUENCIA('Property','Value',...) creates a new
PRACTICA9_FRECUENCIA or raises the % Hints: contents = cellstr(get(hObject,'String')) returns popupmenu1
% existing singleton*. Starting from the left, property value pairs are contents as cell array
% applied to the GUI before Practica9_Frecuencia_OpeningFcn gets % contents{get(hObject,'Value')} returns selected item from
called. An popupmenu1
% unrecognized property name or invalid value makes property
application
% stop. All inputs are passed to Practica9_Frecuencia_OpeningFcn via % --- Executes during object creation, after setting all properties.
varargin. function popupmenu1_CreateFcn(hObject, eventdata, handles)
% % hObject handle to popupmenu1 (see GCBO)
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only % eventdata reserved - to be defined in a future version of MATLAB
one % handles empty - handles not created until after all CreateFcns called
% instance to run (singleton)".
% % Hint: popupmenu controls usually have a white background on
% See also: GUIDE, GUIDATA, GUIHANDLES Windows.
% See ISPC and COMPUTER.
% Edit the above text to modify the response to help Practica9_Frecuencia if ispc && isequal(get(hObject,'BackgroundColor'),
get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white'); hold on
end plot(f2,abs(spectrum2))
hold off
FRECUENCIA
AMI