Effacer les filtres
Effacer les filtres

DTFT of x[n]

50 vues (au cours des 30 derniers jours)
1582251394
1582251394 le 20 Fév 2017
Commenté : Walter Roberson le 26 Mar 2021
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!

Réponses (3)

Walter Roberson
Walter Roberson le 20 Fév 2017

Christian David
Christian David le 24 Oct 2018
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 commentaires
Walter Roberson
Walter Roberson le 25 Oct 2018
No, by definition DTFT is Discrete Time Fourier Transform, which is a discrete function rather than a continuous function.
Christian David
Christian David le 26 Oct 2018
Modifié(e) : Walter Roberson le 26 Oct 2018
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

Connectez-vous pour commenter.


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

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by