资源简介
该代码使用matlab编写的简单GUI,实现采样频率可调,波形为正陷于随机信号的叠加。
代码片段和文件信息
function varargout = huatu(varargin)
% HUATU MATLAB code for huatu.fig
% HUATU by itself creates a new HUATU or raises the existing
% singleton*.
%
% H = HUATU returns the handle to a new HUATU or the handle to
% the existing singleton*.
%
% HUATU(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in HUATU.M with the given input arguments.
%
% HUATU(‘Property‘‘Value‘...) creates a new HUATU or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before huatu_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to huatu_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 huatu
% Last Modified by GUIDE v2.5 02-May-2014 11:11:57
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @huatu_OpeningFcn ...
‘gui_OutputFcn‘ @huatu_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 huatu is made visible.
function huatu_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 huatu (see VARARGIN)
% Choose default command line output for huatu
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes huatu wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = huatu_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)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and use
- 上一篇:基于轮廓提取的多边形近似匹配算法 matlaB
- 下一篇:基于FPGA的DDS
相关资源
- 基于轮廓提取的多边形近似匹配算法
- 基于matlab代码实现的SVPWM程序
- matlab萤火虫代码
- matlab 附和导线平差
- MATLAB数字信号处理工具箱
- 基于霍夫曼编码实现的图像无损压缩
- matlab可用粒子群工具箱 - PSOt
- matlab资源——NIT工具箱
- 朴素贝叶斯算法matlab实现
- 近邻传播聚类-MATLAB程序
- Camshift跟踪 Matlab实现
- 三种esprit算法实现doa估计
- matlab各种图像压缩源代码
- matlab小波变换合集
- 最大后验概率 MAP 准则matlab源码
- 非线性系统辨识
- 异步电机matlab仿真
- matlab 数字升余弦仿真
- 多重网格法求解微分方程-matlab
- 批量读取温度数据
- MATLAB实现DPCM编码
- lz复杂度计算的matlab程序
- 最小二乘法Matlab代码
- matlab 程序\\\\多项式拟合插值.rar
- matlab水准网平差
- 关于汽车的制动性的MAtlab仿真
- 使用Matlab和CCS设计FIR滤波器
- 用matlab语言实现编解码
- 模拟退火算法进行函数优化 matlab
- 通信原理仿真实验 matlab
评论
共有 条评论