필터 지우기
필터 지우기

DTFT of x[n]

조회 수: 50 (최근 30일)
1582251394
1582251394 2017년 2월 20일
댓글: Walter Roberson 2021년 3월 26일
Hi, I have a given a sequence x[n] = [1 2 3 5 6 7];
I'm trying to perform a DTFT on this sequence. I can't seem to find any DTFT functions online. Should I just make my own with a for loop or something. Just multiply each value in the sequence by e^-jwn. Thanks!

답변 (3개)

Walter Roberson
Walter Roberson 2017년 2월 20일

Christian David
Christian David 2018년 10월 24일
Hi, The result of the DTFT is a continuous function, so it not can be determined in a computer. The alternative is DTF, which can be calculated using FFT algorithm (available in Matlab).
  댓글 수: 2
Walter Roberson
Walter Roberson 2018년 10월 25일
No, by definition DTFT is Discrete Time Fourier Transform, which is a discrete function rather than a continuous function.
Christian David
Christian David 2018년 10월 26일
편집: Walter Roberson 2018년 10월 26일
Dear Walter, I forgot to reference my answer:
"This is the DTFT, the procedure that changes a discrete aperiodic signal in the time domain into a frequency domain that is a continuous curve. In mathematical terms, a system's frequency response is found by taking the DTFT of its impulse response. Since this cannot be done in a computer, the DFT is used to calculate a sampling of the true frequency response. This is the difference between what you do in a computer (the DFT) and what you do with mathematical equations (the DTFT)" [1]
"The DTFT itself is a continuous function of frequency, but discrete samples of it can be readily calculated via the discrete Fourier transform (DFT) (see Sampling the DTFT)" [2]
[1] S. W. Smith, Digital signal processing, pp. 180, Second Edition. San Diego - California: California Technical Publiching, 1999. https://users.dimi.uniud.it/~antonio.dangelo/MMS/materials/Guide_to_Digital_Signal_Process.pdf [2] https://en.wikipedia.org/wiki/Discrete-time_Fourier_transform

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


Siddhant Sharma
Siddhant Sharma 2021년 3월 26일
But if I want to use it without using FFT function how can we approach it? Have you developed the code for that?
  댓글 수: 1
Walter Roberson
Walter Roberson 2021년 3월 26일
A number of people have posted fft implementations based upon summation of complex exponentials.

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by