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)
Related posts brought to you by Yet Another Related Posts Plugin.
Tags: controls, engineering, matlab, root locus






October 23rd, 2008 at 4:59 pm
Aaah Matlab…such wonderful memories
March 31st, 2009 at 2:01 pm
it was helpful. thanks
September 1st, 2009 at 8:48 am
useful
October 13th, 2009 at 11:44 am
[...] How To Draw Root Locus Plots Using Matlab – Nima Heydarian Related Posts:Complex NumbersVector Dot ProductElectrical PowerInternal Resistance and the Effects of LoadingIndefinite Integrals … other posts by Papa_Smurf [...]
October 13th, 2009 at 11:46 am
[...] How To Draw Root Locus Plots Using Matlab – Nima Heydarian [...]
October 28th, 2009 at 1:13 pm
thanks…………..
helpful…
December 19th, 2009 at 5:23 am
Thanks alot, it really helped me out.
February 3rd, 2010 at 6:59 pm
Ah.. thanks. Can finish my homework now.. [;)]
February 24th, 2010 at 12:01 am
thank u