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

1+j2/40 2 (4 + 2 (6) Assume you are given the LTI Frequency Response, H (JS) = c

ID: 1766123 • Letter: 1

Question

1+j2/40 2 (4 + 2 (6) Assume you are given the LTI Frequency Response, H (JS) = commands tf and bode to plot the Magnitude Response and the Phase Response of Hjs2). After executing the bode command, use the Matlab command grid on, which will create grid lines on both sub-plots. Create an informative title containing the problem number and your name on the top plot. It is a quirk of Matlab that when the title command is executed after the bode command, Matlab will change the title of only the Magnitude Response, and not that of the phase plot. (Hint: be careful when factoring out constants from high order terms, e.g. (6+a)2-36(1+a/6)2.)

Explanation / Answer

clc;
clear all;
close all;
H = tf([0.025 1], [2i 16i 32i] );%% here j* omega = s and we created the transfer function accordingly
%here the 1st square bracket is neumerator coefficients of the transfer function and
% second square bracket is the denominator coefficients of tf
bode(H);title('Name Question 6');% insert your name instead of 'Name' in title
grid on;