Change the value of N from 22 to 28 with a step of 22 and observe the effect of the performance of FFT. Have you faced any issue for N is too small? Discuss the possible reasons.

Digital Communication Systems Laboratory Spring 2023
Lab 2: Fourier Decomposition
1. Fig. 3b illustrates the reconstructed signal using IFFT and IFFTshift with N = 256 as discussed in the class. Modify the code so that X-axis is the physical time instead of the sample index.
2. Change the value of N from 22 to 28 with a step of 22 and observe the effect of the performance of FFT. Have you faced any issue for N is too small? Discuss the possible reasons.
3. Generate a triangular waveform like in Fig. 4 and estimate the Amplitude, Phase, and Power spectral density in MATLAB. Is the number of nonzero Fourier coefficients same (or smaller or higher) as the sinusoidal one? If not, what might be the possible reasons? Finally reconstruct the original signal. Does the reconstruct signal match with the original one?