Presentation is loading. Please wait.

Presentation is loading. Please wait.

Matlab Program to plot Bode and Root Locus plot for the given transfer function

Similar presentations


Presentation on theme: "Matlab Program to plot Bode and Root Locus plot for the given transfer function"— Presentation transcript:

1

2 Matlab Program to plot Bode and Root Locus plot for the given transfer function
o suppose we have the transfer function as     s s^2 + s + 4 Then the Matlab program for the bode plot will be as follows: clc clear all num=[1, 12]; den=[2, 1, 4]; system=tf(num,den) bode(system)

3

4 Plot the root-locus of the following system
Plot the root-locus of the following system. h = tf([2 5 1],[1 2 3]); rlocus(h)

5

6 nyquist(sys) nyquist(sys,w) nyquist(sys1,sys2,
nyquist(sys) nyquist(sys,w) nyquist(sys1,sys2,...,sysN) nyquist(sys1,sys2,...,sysN,w) nyquist(sys1,'PlotStyle1',...,sysN,'PlotStyleN') [re,im,w] = nyquist(sys) [re,im] = nyquist(sys,w) [re,im,w,sdre,sdim] = nyquist(sys)

7 Plot the Nyquist response of the system
H = tf([2 5 1],[1 2 3]); nyquist(H)

8

9 Time Responses For illustration purposes, create the following third-order transfer function: sys = tf([ ],[ ]) subplot(2,1,1) step(sys) subplot(2,1,2) impulse(sys)

10

11 Frequency Response sys = tf([ ],[ ])

12 bode(sys) grid

13 nyquist(sys) grid

14 nichols(sys) grid

15 rlocus(G) grid


Download ppt "Matlab Program to plot Bode and Root Locus plot for the given transfer function"

Similar presentations


Ads by Google