Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

MATLAB

D ( s )=

2
s + 6 s+ 13
2

num=[2];
den=[1 6 13];
subplot(231);

rlocus(num,den);
title('initial');
D ( s )=

--csplab
//
//
//
// 2x3 6
// rootlocus
//

2
( s+ 4 ) ( s +6 s+13 )
2

num=[2];
den=conv([1 4],[1 6 13]);
subplot(232);
rlocus(num,den);
title('add pole at -4');
D ( s )=

2
s ( s +6 s+13 )
2

num=[2];
den=conv([1 0],[1 6 13]);
subplot(233);
rlocus(num,den);
title('add pole at 0');
D ( s )=

2(s+ 4)
s + 6 s+ 13
2

num=conv([2],[1 4]);
den=[1 6 13];
subplot(235);
rlocus(num,den);
title('add zero at -4');
D ( s )=

2s
s + 6 s+ 13
2

num=[2 0];
den=[1 6 13];
subplot(236);
rlocus(num,den);
title('add zero at 0');

10

-2

-5

-2
0
Real Axis

-10
-6
4

add pole at 0

2
Imag Axis

Imag Axis

-4
-4

0
-2

-4 -2
0
Real Axis
add zero at -4

-4
-4

2
Imag Axis

Imag Axis

add pole at -4

0
-2
-4
-8 -6 -4 -2 0
Real Axis

-2
0
Real Axis
add zero at 0

1
Imag Axis

initial

0
-1

-2

-4

-2
0
Real Axis

You might also like