• 大小: 112KB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2021-07-08
  • 语言: Matlab
  • 标签: 滤波器  频谱分析  

资源简介

实现强大的示波器FFT分析功能,在频谱、相位谱、功率谱等方面对波形进行分析,然后运用MATLAB建立GUI显示波形,在matlab2014a版本上运行正常,没有任何错误

资源截图

代码片段和文件信息

function varargout = main_scope(varargin)
% MAIN_SCOPE MATLAB code for main_scope.fig
%      MAIN_SCOPE by itself creates a new MAIN_SCOPE or raises the existing
%      singleton*.
%
%      H = MAIN_SCOPE returns the handle to a new MAIN_SCOPE or the handle to
%      the existing singleton*.
%
%      MAIN_SCOPE(‘CALLBACK‘hobjecteventDatahandles...) calls the local
%      function named CALLBACK in MAIN_SCOPE.M with the given input arguments.
%
%      MAIN_SCOPE(‘Property‘‘Value‘...) creates a new MAIN_SCOPE or raises the
%      existing singleton*.  Starting from the left property value pairs are
%      applied to the GUI before main_scope_OpeningFcn gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to main_scope_OpeningFcn via varargin.
%
%      *See GUI Options on GUIDE‘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 main_scope

% Last Modified by GUIDE v2.5 17-Mar-2019 16:57:58

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘       mfilename ...
                   ‘gui_Singleton‘  gui_Singleton ...
                   ‘gui_OpeningFcn‘ @main_scope_OpeningFcn ...
                   ‘gui_OutputFcn‘  @main_scope_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 main_scope is made visible.
function main_scope_OpeningFcn(hobject eventdata handles varargin)
% This function has no output args see OutputFcn.
% hobject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to main_scope (see VARARGIN)

% Choose default command line output for main_scope
handles.output = hobject;

% Update handles structure
guidata(hobject handles);

% UIWAIT makes main_scope wait for user response (see UIRESUME)
% uiwait(handles.figure1);


% --- Outputs from this function are returned to the command line.
function varargout = main_scope_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 pushbutton1.
function pushbutton1_Callback(hobject eventdata handles)
% hobject    handle to pushbutton1 (see GCBO)
%

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      47274  2019-03-17 18:46  基于MATLAB的示波器信号处理系统仿真与实现\main_scope.fig

     文件      13321  2012-04-07 09:12  基于MATLAB的示波器信号处理系统仿真与实现\main_scope.m

     文件       3394  2019-03-17 17:03  基于MATLAB的示波器信号处理系统仿真与实现\sin_add.mat

     文件       4210  2019-03-17 17:14  基于MATLAB的示波器信号处理系统仿真与实现\sin_product.mat

     文件      80718  2019-03-16 23:59  基于MATLAB的示波器信号处理系统仿真与实现\test1.wav

     目录          0  2019-04-17 15:38  基于MATLAB的示波器信号处理系统仿真与实现

----------- ---------  ---------- -----  ----

               148917                    6


评论

共有 条评论