Use a MATLAB program like Computer Example 2.2 to investigate the frequency response of the Sallen Key circuit for various
Q-values.
Exercise 2.2
Generalize the computer program of Computer Example 2.1 to evaluate the coefficients of the complex exponential Fourier series of several signals. Include a plot of the amplitude and phase spectrum of the signal for which the Fourier series coefficients are evaluated. Check by evaluating the Fourier series coefficients of a square wave. Plot the square-wave approximation by summing the series through the seventh harmonic.