function varargout = MainDTMF2(varargin)
% MainDTMF2 MATLAB code for MainDTMF2.fig
% MainDTMF2, by itself, creates a new MainDTMF2 or raises the existing
% singleton*.
%
% H = MainDTMF2 returns the handle to a new MainDTMF2 or the handle to
% the existing singleton*.
%
% MainDTMF2('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in MainDTMF2.M with the given input arguments.
%
% MainDTMF2('Property','Value',...) creates a new MainDTMF2 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before MainDTMF2_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to MainDTMF2_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 MainDTMF2
% Last Modified by GUIDE v2.5 09-May-2022 23:25:59
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @MainDTMF2_OpeningFcn, ...
'gui_OutputFcn', @MainDTMF2_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 MainDTMF2 is made visible.
function MainDTMF2_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 MainDTMF2 (see VARARGIN)
%设置表格数据
NumTable=[1,2,3;4,5,6;7,8,9;-1,0,-1];
set(handles.table,'Data',NumTable);
%设置各个图的标题
% Choose default command line output for MainDTMF2
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes MainDTMF2 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = MainDTMF2_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 edit1_Callback(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit1 as text
% str2double(get(hObject,'String')) returns contents of edit1 as a double
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hObject, eventdata, handles)
% hObject handle to popupmenu1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = cellstr(get(hObject,'String')) returns popupmenu1 contents as cell array
% contents{get(hObject,'Value')} returns selected item from popupmenu1
% --- Executes during object creation, after setting all properties.
function popupmenu1_CreateFcn(hObject, eventdata, handles)
% hObject handle to popupmenu1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- 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 user data (see GUIDATA)
global total_y;
y=start(1,'1',handles);
y=[y,zeros(1,400)];
total_y=[total_y,y];
% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global total_y;
y=start(2,'2',handles);
y=[y,zeros(1,400)];
total_y=[total_y,y];
% --- Executes on button press in pushbutton3.
function pushbutton3_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global total_y;
y=start(3,'3',handles);
y=[y,zeros(1,400)];
total_y=[total_y,y];
% --- Executes on button press in pushbutton4.
function pushbutton4_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton4 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global total_y;
y=start(4,'4',handles);
y=[y,zeros(1,400)];
total_y=[total_y,y];
% --- Executes on button press in pushbutton5.
function pushbutton5_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton5 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global total_y;
y=start(5,'5',handles);
y=[y,zeros(1,400)];
total_y=[total_y,y];
% --- Executes on button press in pushbutton6.
function pushbutton6_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton6 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global total_y;
y=start(6,'6',handles);
y=[y,zeros(1,400)];
total_y=[total_y,y];
% --- 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)
global total_y;
y=start(7,'7',handles);
y=[y,zeros(1,400)];
total_y=[total_y,y];
% --- Executes on button press in pushbutton8.
function pushbutton8_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton8 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global total_y;
y=start(8,'8',handles);
y=[y,zeros(1,400)];
total_y=[total_y,y];
% --- Executes on button press in pushbutton9.
function pushbutton9_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton9 (see GCBO)
% eventdata reserved - to be defi
没有合适的资源?快使用搜索试试~ 我知道了~
【数字信号】基于DTMF双音多频信号仿真演示系统带GUI界面 上传版本.zip
共16个文件
jpg:11个
m:3个
wav:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 4 下载量 57 浏览量
2022-06-25
23:56:36
上传
评论
收藏 347KB ZIP 举报
温馨提示
【数字信号】基于DTMF双音多频信号仿真演示系统带GUI界面 上传版本.zip
资源推荐
资源详情
资源评论
收起资源包目录
【数字信号】基于DTMF双音多频信号仿真演示系统带GUI界面 上传版本.zip (16个子文件)
运行结果5.jpg 32KB
运行结果10.jpg 32KB
运行结果3.jpg 32KB
Dual.wav 26KB
运行结果7.jpg 33KB
运行结果1.jpg 129KB
运行结果8.jpg 32KB
MainDTMF2.m 10KB
运行结果2.jpg 33KB
MainDTMF2.fig 13KB
运行结果11.jpg 33KB
运行结果6.jpg 32KB
start.m 158B
MySignal.m 899B
运行结果4.jpg 32KB
运行结果9.jpg 32KB
共 16 条
- 1
资源评论
- m0_749617862023-12-14资源使用价值高,内容详实,给了我很多新想法,感谢大佬分享~
- m0_725898322023-12-21非常有用的资源,可以直接使用,对我很有用,果断支持!
- m0_655121002022-12-20超级好的资源,很值得参考学习,对我启发很大,支持!
- m0_647039562024-04-22发现一个宝藏资源,资源有很高的参考价值,赶紧学起来~
天天Matlab科研工作室
- 粉丝: 2w+
- 资源: 7251
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功