Use Matlab to solve
In this section a function for a cascaded op amp bandpass should be created. The circuit of the bandpass filter is shown below.
Low-pass filter
High-pass filter
Inverting amplifier
CL
R. WW
RH W
R
RH CH W
R;
Vo
Create a function that outputs the magnitude and phase of the filter transfer function. The input parameters should be component values in the figure (RL, CL, RH, CH, Ri, and Rf).
A bandpass filter with the first cutoff frequency of 3 kHz and the second cutoff frequency of 30 kHz is given The gain should be 20 dB. Assume RL = RH = R; = 1 kA. Calculate by hand or in MATLAB the remaining component values. Then use the newly created filter function to calculate the filter transfer function.
Plot the magnitude of the filter in dB (20 points)