Borrar filtros
Borrar filtros

DTFT of x[n]

50 visualizaciones (últimos 30 días)
1582251394
1582251394 el 20 de Feb. de 2017
Comentada: Walter Roberson el 26 de Mzo. de 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!

Respuestas (3)

Walter Roberson
Walter Roberson el 20 de Feb. de 2017

Christian David
Christian David el 24 de Oct. de 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 comentarios
Walter Roberson
Walter Roberson el 25 de Oct. de 2018
No, by definition DTFT is Discrete Time Fourier Transform, which is a discrete function rather than a continuous function.
Christian David
Christian David el 26 de Oct. de 2018
Editada: Walter Roberson el 26 de Oct. de 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

Iniciar sesión para comentar.


Siddhant Sharma
Siddhant Sharma el 26 de Mzo. de 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 comentario
Walter Roberson
Walter Roberson el 26 de Mzo. de 2021
A number of people have posted fft implementations based upon summation of complex exponentials.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by