How can i do detection in DTMF ? i want to enter a tone and get the numbers of it

Technical Source
2 min readDec 14, 2021

--

i want to enter a tone and get the numbers that consist it ….

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

Success!

Sort of.

I had to kludge it a bit because there are problems getting good time separation as well as good frequency separation, but — other than producing duplicate results — this works and gives reasonable answers. You will likely want to experiment with it. It is quite likely not robust, and may only work with the file you sent. (I left the spectrogram plot in but commented it out. Un-comment it if you want to see what it does.) The ‘TL’ and ‘TH’ vectors seem to make no sense in the context of the length of the signal and the sampling frequency, since your entire signal is only about 3.63 seconds in length

The code:

dtmf_tones = load('Eng Abeer dtmf.mat');
xr = dtmf_tones.R;
fs = dtmf_tones.fs;
x = xr - mean(xr); % Remove d-c Component
[S,F,T] = spectrogram(x, 1536, 64, 512, fs, 'yaxis');% Fm = repmat(F, 1, length(T));
% Tm = repmat(T, length(F), 1);

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet