# Thread: Discrete Fourier Transform (DFT).

1. ## Discrete Fourier Transform (DFT).

Compute the discrete Fourier Transform (DFT) for the following spatial domain points. Draw magnitude spectrum and compute its phase spectrum as well.

f(0)=15, f(1)=220, f(2)=60, f(3)42, f(4)=54, f(5)=75, f(6)=105, f(7)=150

2. Originally Posted by ajbozdar
Compute the discrete Fourier Transform (DFT) for the following spatial domain points. Draw magnitude spectrum and compute its phase spectrum as well.

f(0)=15, f(1)=220, f(2)=60, f(3)42, f(4)=54, f(5)=75, f(6)=105, f(7)=150
What is the problem here, this is a computational excise. You are being asked to compute (numerically):

$\displaystyle X_k=\sum_{n=0}^{N-1}x_ne^{-\frac{2\pi}{N}kn},\ \ \ k=0,.., N-1$

Then do the requested plots.

CB