Ćw 1.1a
b = [0 5 2]
a = [1 3 2]
roots(a)
ans =
-2
-1
roots (b)
-0.4000
zplane(b,a)
Ćw 1.1f
b = [5 2]
a = [1 3 2]
roots(a)
ans =
-2
-1
roots (b)
-0.4000
zplane(b,a)
Ćw2.1
a)
b = [1 3];
a = [1 1.5 -1];
[r,p,k] = residuez(b,a)
r =
-0.4000
1.4000
p =
-2.0000
0.5000
k =
[]
zplane(b,a);
f)
b = [2 -2 -2];
a = [1 0 -1];
[r,p,k] = residuez(b,a)
r =
1
-1
p =
-1
1
k =
2
Ćw3:
3.1
a)
b = [0 5 2];
a = [1 3 2];
[A,B,C,D]=tf2ss(b,a)
A =
-3 -2
1 0
B =
1
0
C =
5 2
D =
0
3.2
A = [-0.5 0; 0 0.5;];
B = [0;2];
C = [1 -1];
D = 1;
[b,a] = SS2TF(A,B,C,D)
b =
1.0000 -2.0000 -1.2500
a =
1.0000 0 -0.2500