Rework Example using a rectangular data window rather than a Hanning window. Compare the results using a rectangular window with the results using a Hanning window. How are they different? Explain the reasons for the noted differences.
Example
In this example we pass independent (white noise) samples through a Chebyshev filter having 5 dB passband ripple. The problem is to estimate the PSD at the filter output. The MATLAB program for accomplishing this follows: