You are on page 1of 5

# Nama

Nim

: 201010130311153

Teknik Elektro

## >> sys=tf([1],conv([1 0],conv([1 1.53],[1 4.59])));

>> rlocus(sys)
>> axis([-5 0.5 -3 3])

>> [k1,s1]=rlocfind(sys)
Select a point in the graphics window
selected_point =
-0.6534 + 0.3447i
k1 =
2.7498

s1 =
-4.7681
-0.6759 + 0.3461i
-0.6759 - 0.3461i
>> s1(2)
ans =
-0.6759 + 0.3461i
>> wn=abs(s1(2))
wn =
0.7594
>> zeta=abs(real(s1(2)))/wn
zeta =
0.8901
>> np=exp(-zeta*pi/sqrt(1-zeta^2))*100
np =
0.2166
>> tr=(pi-atan(sqrt(1-zeta^2)/zeta))/(wn*sqrt(1-zeta^2))
tr =
77090
>> [k2,s2]=rlocfind(sys)
Select a point in the graphics window
selected_point =
-0.6274 + 0.5497i
k2 =
3.5266

s2 =
-4.8132
-0.6534 + 0.5529i
-0.6534 - 0.5529i
>> s2(2)
ans =
-0.6534 + 0.5529i
>> wn=abs(s2(2))
wn =
0.8560
>> zeta=abs(real(s2(2)))/wn
zeta =
0.7634
>> np=exp(-zeta*pi/sqrt(1-zeta^2))*100
np =
2.4418
>> tr=(pi-atan(sqrt(1-zeta^2)/zeta))/(wn*sqrt(1-zeta^2))
tr =
4.4115
>> [k3,s3]=rlocfind(sys)
Select a point in the graphics window
selected_point =
-0.6013 + 0.8106i
k3 =
5.0636
s3 =
-4.8971
-0.6115 + 0.8125i

-0.6115 - 0.8125i
>> s3(2)
ans =
-0.6115 + 0.8125i
>> wn=abs(s3(2))
wn =
1.0169
>> zeta=abs(real(s3(2)))/wn
zeta =
0.6013
>> np=exp(-zeta*pi/sqrt(1-zeta^2))*100
np =
9.4017
>> tr=(pi-atan(sqrt(1-zeta^2)/zeta))/(wn*sqrt(1-zeta^2))
tr =
2.7274

## >> sys=tf([k3],conv([1 0],conv([1 1],[1 4])));

>> hs=tf(1,1);
>> sys_1=feedback(sys,hs);
>> step(sys_1)