Videos:
Brian Douglas (13:03) -
Darryl Morrell, Part 1 (9:02) -
Darryl Morrell, Part 2 (11:07)
fmaxplot = 20;
wmaxplot = 2*pi*fmaxplot;
w = -wmaxplot : 0.01 : wmaxplot;
H = 2 ./ (2 + j*w);
Hmag = abs(H);
Hphase = phase(H);
figure;
plot(w, Hmag);
title('Magnitude Response');
figure;
plot(w, Hphase);
title('Phase Response');
You'll need to put in your formula for H.
bevans@ece.utexas.edu