一、获取代码方式

获取代码方式1:
完整代码已上传我的资源: 【数字信号】基于matlab GUI双音多频(DTMF)信号检测【含Matlab源码 512期】

获取代码方式2:
通过订阅紫极神光博客付费专栏,凭支付凭证,私信博主,可获得此代码。

备注:订阅紫极神光博客付费专栏,可免费获得1份代码(有效期为订阅日起,三天内有效);

二、双音多频(DTMF)信号简介








三、部分源代码

function varargout = mygui(varargin)
% MYGUI MATLAB code for mygui.fig
%      MYGUI, by itself, creates a new MYGUI or raises the existing
%      singleton*.
%
%      H = MYGUI returns the handle to a new MYGUI or the handle to
%      the existing singleton*.
%
%      MYGUI('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in MYGUI.M with the given input arguments.
%
%      MYGUI('Property','Value',...) creates a new MYGUI or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before mygui_OpeningFcn gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to mygui_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 mygui% Last Modified by GUIDE v2.5 09-Nov-2019 22:01:11% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...'gui_Singleton',  gui_Singleton, ...'gui_OpeningFcn', @mygui_OpeningFcn, ...'gui_OutputFcn',  @mygui_OutputFcn, ...'gui_LayoutFcn',  [] , ...'gui_Callback',   []);
if nargin && ischar(varargin{1})gui_State.gui_Callback = str2func(varargin{1});
endif nargout[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
elsegui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
global SNR;% --- Executes just before mygui is made visible.
function mygui_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 mygui (see VARARGIN)% Choose default command line output for mygui
handles.output = hObject;% Update handles structure
guidata(hObject, handles);% UIWAIT makes mygui wait for user response (see UIRESUME)
% uiwait(handles.figure1);% --- Outputs from this function are returned to the command line.
function varargout = mygui_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)
global SNR;%设置全局变量SNR
SNR=str2double(get(handles.edit2,'String'));%由信噪比输入框得到SNR
s='4';%此按钮对应的输入符号为'4'
y1=mysound(s);%得到加噪声后得dtft信号
y2=mygeortzel(y1);%戈泽尔算法解码
y3=georeceive(y2);
y4=myfft(y1);%FFT算法解码
set(handles.text17,'String',y3);%输出戈泽尔算法解码的值
set(handles.text12,'String',y4);%输出FFT算法解码得值
set(handles.text13,'string','4');%输出输入的原始键值% 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)% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='1';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','1');% 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)% --- Executes on button press in pushbutton3.
function pushbutton3_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='7';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','7');% 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)% --- Executes on button press in pushbutton4.
function pushbutton4_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='*';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','*');% 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)% --- Executes on button press in pushbutton5.
function pushbutton5_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='3';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','3');% 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)% --- Executes on button press in pushbutton6.
function pushbutton6_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='8';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','8');% 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)% --- Executes on button press in pushbutton7.
function pushbutton7_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='6';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','6');% 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)% --- Executes on button press in pushbutton8.
function pushbutton8_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='0';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','0');% 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)% --- Executes on button press in pushbutton9.
function pushbutton9_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='2';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','2');% hObject    handle to pushbutton9 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% --- Executes on button press in pushbutton10.
function pushbutton10_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='5';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','5');% hObject    handle to pushbutton10 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% --- Executes on button press in pushbutton11.
function pushbutton11_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='9';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','9');% hObject    handle to pushbutton11 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% --- Executes on button press in pushbutton12.
function pushbutton12_Callback(hObject, eventdata, handles)
global SNR;
SNR=str2double(get(handles.edit2,'String'));
s='D';
y1=mysound(s);
y2=mygeortzel(y1);
y3=georeceive(y2);
y4=myfft(y1);
set(handles.text17,'String',y3);
set(handles.text12,'String',y4);
set(handles.text13,'string','D');% hObject    handle to pushbutton12 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% --- Executes on button press in pushbutton13.
function pushbutton13_Callback(hObject, eventdata, handles)
global SNR;

四、运行结果





五、matlab版本及参考文献

1 matlab版本
2014a

2 参考文献
[1] 沈再阳.精通MATLAB信号处理[M].清华大学出版社,2015.
[2]高宝建,彭进业,王琳,潘建寿.信号与系统——使用MATLAB分析与实现[M].清华大学出版社,2020.
[3]王文光,魏少明,任欣.信号处理与系统分析的MATLAB实现[M].电子工业出版社,2018.

【数字信号】基于matlab GUI双音多频(DTMF)信号检测【含Matlab源码 512期】相关推荐

  1. 【信号处理】基于双音多频(DTMF)信号检测含Matlab源码

    1 简介 DTMF信号系统是一个典型的小型信号处理系统,它要用数字方法产生模拟信号并进行传输,应用D/A变换器,采用快速的频率检测算法--戈泽尔(GEORTZEL)算法的原理,以及该算法在双音多频拨号 ...

  2. 【光学】基于matlab GUI杨氏双缝干涉【含Matlab源码 001期】

    一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[光学]基于matlab GUI杨氏双缝干涉[含Matlab源码 001期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2: 付费 ...

  3. 【人脸识别】基于matlab GUI人数统计【含Matlab源码 2121期】

    ⛄一.人数统计简介(附课程作业报告) 1 课题背景 本课题为基于matlab的人数统计系统.近年来,很多行业对人流信息有极大的需求,如汽车公交站,地铁站台,商场出入口等.通过人数统计系统可以方便.可靠 ...

  4. 基于SSM的仓库管理系统(含完整源码+论文)

    后端框架:SSM 数据库:MySQL 开发工具:IDEA/Eclipse 系统介绍:本系统是基于SSM框架进行设计,MySQL作为底层数据库,前端采用bootstrap 模块大致介绍:包括库存管理.出 ...

  5. 【条形码识别】基于matlab GUI二维条形码识别【含Matlab源码 607期】

    ⛄一.二维条形码识别简介 采用数字图像处理技术对二维条码进行识别, 是二维条形码识别中较常用的方法, 它在处理污损的条形码方面有光电识别方法无法比拟的优势.另外图像式识别方法对识别角度的要求没有光电识 ...

  6. 【心电信号】基于matlab GUI心电信号预处理【含Matlab源码 938期】

    ⛄一.心电信号预处理方法简介 理论知识参考文献:心电信号预处理方法研究 ⛄二.部分源代码 function varargout = kaishi(varargin) gui_Singleton = 1 ...

  7. matlab svm 语音识别,【情感识别】基于matlab支持向量机(SVM)的语音情感识别【含Matlab源码 543期】...

    一.简介 支持向量机(Support Vector Machine)是Cortes和Vapnik于1995年首先提出的,它在解决小样本.非线性及高维模式识别中表现出许多特有的优势,并能够推广应用到函数 ...

  8. 【数字信号】基于matlab GUI多音双频(DTMF)拨号音频解码仿真系统【含Matlab源码 1084期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[数字信号]基于matlab GUI多音双频(DTMF)拨号音频解码仿真系统[含Matlab源码 1084期] 点击上面蓝色字体,直接付费 ...

  9. 【数字信号】基于matlab GUI电话按键识别【含Matlab源码 2382期】

    ⛄一.获取代码方式 获取代码方式1: 完整代码已上传我的资源:[数字信号]基于matlab GUI电话按键识别[含Matlab源码 2382期] 点击上面蓝色字体,直接付费下载,即可. 获取代码方式2 ...

  10. 【Matlab通信】DTMF双音多频电话拨号仿真【含GUI源码 805期】

    一.代码运行视频(哔哩哔哩) [Matlab通信]DTMF双音多频电话拨号仿真[含GUI源码 805期] 二.matlab版本及参考文献 1 matlab版本 2014a 2 参考文献 [1] 蔡利梅 ...

最新文章

  1. AsyncLocal 与 async await
  2. Hadoop框架:单服务下伪分布式集群搭建
  3. ajax 传输中文乱码,关于Ajax请求中传输中文乱码问题的解决方案
  4. iptables 开启3306端口
  5. java实例分析宠物商店_java实例分析:宠物商店.ppt
  6. 设计模式(七): 通过转接头来观察适配器模式(Adapter Pattern)
  7. 第5次作业+149+肖雷
  8. Django学习-22-Form
  9. C++和C#的性能比较
  10. 4符号代码_身为程序员我敢跟你打赌100块,这个数学符号你根本不会认不会写...
  11. python 爬取种子_利用python代码爬取torrentkitty上的种子
  12. lpush和rpush的区别_redis数据类型之list-lpush,rpush讲解
  13. 论文写作中文核心期刊查询和中图检索号查询
  14. 教你一步一步用 Node.js 制作慕课网视频爬虫
  15. 用python放音乐_python怎么播放音乐
  16. 万年历单片机C语言报告,C语言单片机万年历系统设报告优秀文档.doc
  17. 荧光定量PCR的优点和检测方法盘点
  18. ORALC/HIVE 的STDDEV、STDDEV_POP、STDDEV_SAMP等函数
  19. 2021-03-4:task04_NFM模型
  20. 手机控制电脑,在WIFI局域网下(关机,重启,遥控)

热门文章

  1. redis 入门笔记(一)
  2. iOS开发日记40-详解React Native
  3. CentOS下双网卡绑定-bond0
  4. 转:UIViewController中各方法调用顺序及功能详解
  5. FirstApp,iphone开发学习总结3,UIButton简单的操作
  6. T400笔记本Fn+F3、Fn+F8失效
  7. 190120每日一句
  8. 什么是面向对象编程的人生感悟
  9. Atitit 文档资料整理的规范流程与问题解决目录1. 减肥 11.1. 剥离非原创类文件 11.2. 去重 11.3. 转换格式 21.4. Topic主题剥离 22. 脱敏 2
  10. Atitit attilax涉及到的大数据 数据分析 数据挖掘 ai人工智能的处理技术 目录 1.1. 大数据 机器视觉 图像处理 数据分析 数据挖掘 知识图谱 ai人工智能方面系列项目 1 2.