How To Draw Root Locus Plots Using Matlab
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:
- Define the numerator (num).
- Define the denominator (den).
- 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:
- num = [1];
- den = conv ([1 0] , [1 4 8]);
- rlocus (num, den)
No comments:
Post a Comment
Hi,
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.
by,
www.ieducated.blogspot.com
Regards sri vastav.