Question: % CSD Bode plot of the system G(s) =10/(s+1) num=10; den= [1 1]; w=logspace (-1,1); [mag, phase]=bode (num, den, w); magb=20*log10(mag); figure(1), semilogx (w,

% CSD Bode plot of the system G(s) =10/(s+1) num=10; den= [1

% CSD Bode plot of the system G(s) =10/(s+1) num=10; den= [1 1]; w=logspace (-1,1); [mag, phase]=bode (num, den, w); magb=20*log10(mag); figure(1), semilogx (w, magb), title( 'Magnitude response in dB'), grid, figure(2), semilogx (w, phase), title('Phase response in deg'), grid 12345 Command Window New to MATLAB? See resources for Getting Started. >> CSD_fig2p10_code 'bode' requires one of the following: Control System Toolbox System Identification Toolbox Error in CSD_fig2p10_code (line 2) num=10; den= [1 1]; w=logspace(-1,1); [mag,phase]=bode (num, den,w); fx >>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!