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)
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
April 4th, 2010 at 1:09 am
Thanks for doing that tutorial. I noticed that it is similar to Modern Control System by Dorf and Bishop Question E.7.13a, how would you approach b and c?
April 18th, 2010 at 10:36 am
looks quite simple than what we do in theory
thanks!
if any other rule please forward.
May 21st, 2010 at 11:27 am
salam
age bekhaym makane rishe haye ye system ta’khirdar ro rasm konim bayad chikar konim?
August 6th, 2010 at 1:13 pm
how can we use the grids….?
August 6th, 2010 at 10:53 pm
Honestly I did that so long ago I don’t remember. I’m sorry