资源简介
基于matlab的gui软信号发生器,产生正弦波、方波、三角波以及任意波形。
代码片段和文件信息
function varargout = xinhao(varargin)
% XINHAO MATLAB code for xinhao.fig
% XINHAO by itself creates a new XINHAO or raises the existing
% singleton*.
%
% H = XINHAO returns the handle to a new XINHAO or the handle to
% the existing singleton*.
%
% XINHAO(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in XINHAO.M with the given input arguments.
%
% XINHAO(‘Property‘‘Value‘...) creates a new XINHAO or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before xinhao_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to xinhao_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 xinhao
% Last Modified by GUIDE v2.5 24-May-2013 22:48:32
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @xinhao_OpeningFcn ...
‘gui_OutputFcn‘ @xinhao_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
function xinhao_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 xinhao (see VARARGIN)
% Choose default command line output for xinhao
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
set(handles.ZHANKONGBI‘enable‘‘off‘)
set(handles.shuaijian‘enable‘‘off‘)
set(handles.pinlv‘enable‘‘off‘)
set(handles.FUDU‘enable‘‘off‘)
set(handles.xianshi‘visible‘‘off‘)
set(handles.hanshu‘visible‘‘off‘)
set(handles.caiyangpinlv‘enable‘‘off‘)
set(handles.shijian‘enable‘‘off‘)
function varargout = xinhao_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;
function on_Callback(hobject eventdata handles)
% hobject handle to on (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and u
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 11310 2013-05-24 23:56 gui信号发生器\xinhao.fig
文件 22915 2013-05-24 23:56 gui信号发生器\xinhao.m
目录 0 2013-07-07 20:24 gui信号发生器
----------- --------- ---------- ----- ----
34225 3
- 上一篇:MATLAB实现基于TCPIP的通信
- 下一篇:MATLAB卡尔曼滤波伪距单点定位
相关资源
- MATLAB卡尔曼滤波伪距单点定位
- MATLAB实现基于TCPIP的通信
- 0.618法和fibonacci法matlab算法
- 维纳滤波和约束最小二乘滤波图像复
- MATLAB密度聚类程序
- matlab编写6-SPS并联机器人工作空间的程
- matlab圆形提取
- 近邻传播聚类affinity propagation cluster
- 遗传算法解决非线性规划问题的Matl
- PSO优化RBFNN的MATLAB源代码
- 光纤激光器matlab数值模拟
- 风光柴储混合发电的matlab仿真模型
- ESPRIT算法MATLAB仿真程序
-
基于simuli
nk的s-function的PWM生成.rar - 经典MUSIC算法MATLAB仿真,带详细注释
- dft函数matlab代码
- matlab傅里叶级数展开程序
- 颜色CIEDE2000matlab程序
-
卡尔曼滤波器在simuli
nk 中的实现 - QPSK调制解调过程的MATLAB仿真
- MATLAB-GWR-地理加权回归模型-代码
- 偏最小二乘法总算法matlab代码
- K近邻法 模板 0-9数字识别 matlab
- 数字语音处理及matlab仿真配套代码完
- 阴影去除资源matlab
- 用MATLAB对两幅图片进行图像匹配的实
- 频域外推EC的matlab代码
- 用matlab实现最大最小距离聚类算法
- matlab语音信号特征值提取
- 基于遗传算法的柔性车间调度.rar
评论
共有 条评论