In this experiment DFT of 4 and 8 point signal was taken. We have developed basic functions for taking input and displaying .So for each new experiment we just have to implement logic as a new fuction only.The DFT was calculated and effect of zero padding on magnitude spectrum was observed. length of input signal and signal values from user. calculation of X[K] by DFT and x(n) by IDFT and magnitude spectrum of the signal was plotted.Change in 4 point signal by appending 4 zeros at end.As the number of points increases, the resolution of magnitude spectrum increases.
DFT
IDFT
DFT
IDFT
For real valued x(n) the DFT is symmetric about the point n = N/2
ReplyDeleteFor symmetric h(n) with N odd is suitable for LPF design
Deletethe quality of the spectrum improves as N increases.
ReplyDeleteyes the resolution of spectrum increases.
Delete