Pikir dan Rasa

cogito ergo sum

Control Systems/Root Locus – Wikibooks, open books for an open world

leave a comment »

Example: Root-Locus Using MATLAB/Octave

Use MATLAB, Octave, or another piece of mathematical simulation software to produce the root-locus graph for the following system:

T(s) = K\frac{s + 2}{(s + 3)(s^2 + 2s + 2)}

First, we must multiply through in the denominator:

D(s) = s3 + 5s2 + 8s + 6

Now, we can generate the coefficient vectors from the numerator and denominator:

num = [0 0 1 2];
den = [1 5 8 6];

Next, we can feed these vectors into the rlocus command:

rlocus(num, den);

Note:In Octave, we need to create a system structure first, by typing:

sys = tf(num, den);

Written by sunupradana

June 9, 2011 at 4:30 pm

Posted in Control Systems, Komputer

Tagged with , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: