Matlab :detect frequency of dtmf tone (.wav )file

  • Thread starter Thread starter mohajernow
  • Start date Start date
  • Tags Tags
    Frequency Matlab
Click For Summary
The discussion revolves around detecting the frequency of a DTMF tone from a .wav file using MATLAB. The user is attempting to apply the Fourier Transform but is overwhelmed by the multiple results from the "find" function. They are seeking guidance on how to isolate the frequency with the highest magnitude to identify the corresponding number for the DTMF tone. Suggestions include refining the approach to focus on the peak values in the frequency spectrum. The user is looking for a clearer method to achieve accurate frequency detection.
mohajernow
Messages
2
Reaction score
0
a question in MATLAB ?
i have a DTMF tone as a ( .wav ) file and i want to detect
its frequency then i want to know the number which
the tone belong to

note i have a .wav file and i want to detect it


i am trying forrier then using "find function "in matlab
but the result of "find " have a lot of number
what i can do to solve this problem

here is my attempt

[y1,fs,n]=wavread('tone4.wav');
Ts=1/fs
y=fft(y1);
y=Ts*fftshift(y);
freq =find (y)
 
Last edited:
Physics news on Phys.org
i found another way to know the frequency but i do not konw how to use it
the methode depend on finding the frequency which has the highest magnitude

i do not know how to get the highest magnitude
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 15 ·
Replies
15
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K