Professional Documents
Culture Documents
Chap 6 HW L20291730 Pei
Chap 6 HW L20291730 Pei
Problem 6.3
Code
gh = tf([1],conv([1 1 0],[1 4 5]))
rlocus(gh)
[k s] = rlocfind(gh)
Result
Root Locus
5
4
3
2
1
0
-1
-2
-3
-4
-5
-6
-5
-4
-3
-2
-1
Problem 6.5
Code
gh = tf([1],conv([1 2 2],[1 2 5]))
rlocus(gh)
[k s] = rlocfind(gh)
Result
Root Locus
10
8
6
4
2
0
-2
-4
-6
-8
-10
-10
-8
-6
-4
-2
Problem 6.9
Code
gh = tf([1 9],[1 4 11 0])
rlocus(gh)
sgrid([0.5],[])
Result
Root Locus
40
30
20
Imaginary Axis (seconds-1)
0.5
10
-10
0.5
-20
-30
-40
-10
-8
-6
-4
-2
Problem 6.10
Code
gh = tf([2 2],conv([1,5],[1 2 0 0]))
k = 0:0.01:20
rlocus(gh,k)
Result
Root Locus
3
-1
-2
-3
-7
-6
-5
-4
-3
-2
-1
Problem 6.11
Code
gh = tf([1],[1 4 8])
rlocus(gh)
k = 2
r = rlocus(gh,k)
Result
Root Locus
10
8
6
4
2
0
-2
-4
-6
-8
-10
-3
-2.5
-2
-1.5
-1
Problem 6.15
Code
num = [0 0 0 1]
den = [1 2 6 0]
rlocus(num,den)
v = [-5 3 -4 4]
axis(v)
axis('square')
grid
p = [1 2 6 2]
roots(p)
Result
ans =
-0.8147 + 2.1754i
-0.8147 - 2.1754i
-0.3706
-0.5
0.5
Root Locus
4
0.76
0.64
0.5
0.34
0.16
3 0.86
0.94
0.985
5
0
-1
-2
0.985
0.94
-3 0.86
0.76
-4
-5
0.64
-4
0.5
-3
0.34
-2
0.16
-1
Problem 6.16
Code
num1 = [0 1 -1]
den1 = [1 6 8]
k1 = 0:0.01:50
k2 = 50:0.5:1000
k = [k1 k2]
rlocus(num1,den1,k)
grid
Result
Root Locus
60
0.999
40
0.997
0.995
0.989
0.975
0.88
20 1
1.2e+003
0
1e+003
800
600
400
200
-20 1
-40
0.999
-60
-1200
0.997
-1000
-800
0.995
-600
0.989
-400
0.975
-200
0.88
0
200