77范文网 - 专业文章范例文档资料分享平台

数字信号处理课程设计.(4)

来源:网络收集 时间:2018-12-17 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

Signal = PressKeyDown(handles,'2'); handles.DTMFSignal = Signal;

handles.TelNumber=strcat(handles.TelNumber,'2'); % Update handles structure guidata(hObject, handles);

set(handles.CodeText,'string',handles.TelNumber);

% --- Executes on button press in Key3.

function Key3_Callback(hObject, eventdata, handles) % hObject handle to Key3 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) set(handles.DecodeText,'string',''); %清空解码显示文本框

Signal = PressKeyDown(handles,'3'); handles.DTMFSignal = Signal;

handles.TelNumber=strcat(handles.TelNumber,'3'); % Update handles structure guidata(hObject, handles);

set(handles.CodeText,'string',handles.TelNumber);

% --- Executes on button press in Key4.

function Key4_Callback(hObject, eventdata, handles) % hObject handle to Key4 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)

16

set(handles.DecodeText,'string',''); %清空解码显示文本框

Signal = PressKeyDown(handles,'4'); handles.DTMFSignal = Signal;

handles.TelNumber=strcat(handles.TelNumber,'4'); % Update handles structure guidata(hObject, handles);

set(handles.CodeText,'string',handles.TelNumber);

% --- Executes on button press in Key5.

function Key5_Callback(hObject, eventdata, handles) % hObject handle to Key5 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) set(handles.DecodeText,'string',''); %清空解码显示文本框

Signal = PressKeyDown(handles,'5'); handles.DTMFSignal = Signal;

handles.TelNumber=strcat(handles.TelNumber,'5'); % Update handles structure guidata(hObject, handles);

set(handles.CodeText,'string',handles.TelNumber);

% --- Executes on button press in Key6.

function Key6_Callback(hObject, eventdata, handles) % hObject handle to Key6 (see GCBO)

17

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) set(handles.DecodeText,'string',''); %清空解码显示文本框

Signal = PressKeyDown(handles,'6'); handles.DTMFSignal = Signal;

handles.TelNumber=strcat(handles.TelNumber,'6'); % Update handles structure guidata(hObject, handles);

set(handles.CodeText,'string',handles.TelNumber);

% --- Executes on button press in Key7.

function Key7_Callback(hObject, eventdata, handles) % hObject handle to Key7 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) set(handles.DecodeText,'string',''); %清空解码显示文本框

Signal = PressKeyDown(handles,'7'); handles.DTMFSignal = Signal;

handles.TelNumber=strcat(handles.TelNumber,'7'); % Update handles structure guidata(hObject, handles);

set(handles.CodeText,'string',handles.TelNumber); % --- Executes on button press in Key8.

function Key8_Callback(hObject, eventdata, handles) % hObject handle to Key8 (see GCBO)

18

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) set(handles.DecodeText,'string',''); %清空解码显示文本框

Signal = PressKeyDown(handles,'8'); handles.DTMFSignal = Signal;

handles.TelNumber=strcat(handles.TelNumber,'8'); % Update handles structure guidata(hObject, handles);

set(handles.CodeText,'string',handles.TelNumber);

% --- Executes on button press in Key9.

function Key9_Callback(hObject, eventdata, handles) % hObject handle to Key9 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) set(handles.DecodeText,'string',''); %清空解码显示文本框

Signal = PressKeyDown(handles,'9'); handles.DTMFSignal = Signal;

handles.TelNumber=strcat(handles.TelNumber,'9'); % Update handles structure guidata(hObject, handles);

set(handles.CodeText,'string',handles.TelNumber);

% --- Executes on button press in KeyStar.

function KeyStar_Callback(hObject, eventdata, handles) % hObject handle to KeyStar (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB

19

% handles structure with handles and user data (see GUIDATA) % --- Executes on button press in Key2.

set(handles.DecodeText,'string',''); %清空解码显示文本框

Signal = PressKeyDown(handles,'*'); handles.DTMFSignal = Signal;

handles.TelNumber=strcat(handles.TelNumber,'*'); % Update handles structure guidata(hObject, handles);

set(handles.CodeText,'string',handles.TelNumber);

% --- Executes on button press in Key0.

function Key0_Callback(hObject, eventdata, handles) % hObject handle to Key0 (see GCBO)

% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) set(handles.DecodeText,'string',''); %清空解码显示文本框

Signal = PressKeyDown(handles,'0'); handles.DTMFSignal = Signal;

handles.TelNumber=strcat(handles.TelNumber,'0'); % Update handles structure guidata(hObject, handles);

set(handles.CodeText,'string',handles.TelNumber); % --- Executes on button press in KeySharp.

function KeySharp_Callback(hObject, eventdata, handles) % hObject handle to KeySharp (see GCBO)

20

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库数字信号处理课程设计.(4)在线全文阅读。

数字信号处理课程设计.(4).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/366239.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: