필터 지우기
필터 지우기

DTMF (Dial Tone) Help

조회 수: 11 (최근 30일)
Jonathan Diaz
Jonathan Diaz 2017년 10월 5일
댓글: Walter Roberson 2017년 10월 5일
The question asks:
Read the “dtmf.wav” audio file using audioread function of MATLAB Identify the corresponding 4-digit dialed number
Show all your work and plot the DFT’s of all the digits
Please use a DFT of size 2048 to estimate the digital digits.
Here is the frequency table:
Here is my code:
y = audioread("dtmf.wav");
z = plot(y) % which gives me the the plot of the four digits but I need to decode it to find the frequency range and with that I can find the four digit numbers
N = 2048;
fs = 44100;
T = 1/fs;
t = T*(0:N-1);
I'm having trouble sampling z = plot(y). Right now it's in time domain, but I need it to be in the frequency domain. Please help! I need to output the plot for all 4 digits.
  댓글 수: 3
Jonathan Diaz
Jonathan Diaz 2017년 10월 5일
Which is? I don't understand..
Walter Roberson
Walter Roberson 2017년 10월 5일
First it plots in the time domain. Then in the lines starting from "Compute the Fourier transform of the signal. " it shows calculation of the fft and shows plotting in the frequency domain.

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by