DSPRelated.com
Forums

MATLAB DTMF decoding

Started by shan...@gmail.com January 20, 2006
I have a .mat file which contains a matrix d which has 10 rows and 2048 columns; first 1024 samples of each row corresponds to one digit and the next 1024 samples are just zeros corresponding to the silence between the digits. We need these zeros when we wish to hear the click sound of the digit followed by silence.
and the sampling freq Fs=2^1392

I've figured out how to find the frequencies in each row by plotting the spectrum of each row and determined the numbers dialed to be (4243940801), however I was wondering if I there was a way to make this autonomous ie(have the program read the .mat file and preform the fft and I'm assuming apply some type of filter to have it display the frequencies and then go through some type of if statement to determine the numbers)

but I'm not sure how to apply the filter if anyone could help I would appreciate it.

here is the .m file DTMF decoding.m
http://www.personal.psu.edu/users/s/a/sar269/DTMF_decoder.m

here is the .mat file Shane.mat
http://www.personal.psu.edu/sar269/Shane.mat

Thanks for any help