Sunday, November 6, 2011

Root Locus ...ON THE MOVE..

How To Draw Root Locus Plots Using Matlab

by vastav
Drawing Root Locus plots by hand is a hard and time consuming task so it is always good to check the answers with Matlab just to be sure you are on the right track.
The process of drawing the Root Locus with Matlab is as follow:
  1. Define the numerator (num).
  2. Define the denominator (den).
  3. Draw the Root Locus (rlocus (num, den))
So let’s say we want to draw the root locus for the following system:
G(s) = k / ( s )*( s^2 + 4s + 8 )
The Matlab code will be:
  1. num = [1];
  2. den = conv ([1 0] , [1 4 8]);
  3. rlocus (num, den)

No comments:

Post a Comment

Thanks for stopping by leaving a comment.
I am looking forward to make some new posts of such a kind. make sure to visit and leave comments which will help me in improving my blog. and don't forget to share with your friends.

Regards sri vastav.