M point DTFT in MATLAB This program computes the M point DTFT of a given signal in [−π, π] range. I wrote a MATLAB function named "DTFT.m" to do so.
For examining the result I also wrote a function that computes the convolution of two indexed sequences, named "convolution.m"
I evaluated my result with 2 types of inputs + audio signal and apply a LTI system on them as below.
PART C x[n] = 0.9^n * u[n]
The results are the same in this example.
PART D x[n] = sin(2π×0.01n)+sin(2π×0.25n)+sin(2π×0.29n) for n = 0, 1, ..., 1000
In this example, due to cosine frequencies at these point there is difference. at 0.58 and 0.5 (Normalized frequencies)
PART D input = "meyou.wav" output = "outmeyou.wav"