Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A high-pass filter passes signals with frequencies that are higher than a certai

ID: 2083391 • Letter: A

Question

A high-pass filter passes signals with frequencies that are higher than a certain cutoff frequency. In this filter the ratio of the magnitudes of the voltages is given by: |V_o/V_i| = omega RC/Squareroot 1 + omega^2R^2C^2 where omega = 2 pi f is the frequency of the input signal. (a) Make a 3-D mesh plot of |V_o/V_i| (z axis) as a function of f (x axis) for 1 lessthanorequalto f lessthanorequalto 10^6 Hz, and as a function of RC (y axis) for 0.4 times 10^-4 lessthanorequalto RC lessthanorequalto 6 times 10^-3s. Use a logarithmic scale for the x axis. This can be done by typing the MATLAB command set (gca, 'Xscale', 'log') following the mesh command. A vector with constant spacing on a logarithmic scale can be created with the command logspace(a, b, n). (b) Make a plot that is a projection on the x z plane.

Explanation / Answer

f = 1:100:10^6;
RC = 0.4*10^-4:0.00005960059*10^-2:6*10^-3;
[X, Y] = meshgrid(f, RC);
omega = 2*pi.*X;
NUM = omega.*Y;
DEN = sqrt(1+((omega.^2).*(Y.^2)));
VoltageRatio = (NUM)./DEN;
mesh(f, RC, VoltageRatio)
set(gca, 'Xscale', 'log');

for projection on X axis, plot X vs Z

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote