Professional Documents
Culture Documents
Kolos Automaty
Kolos Automaty
Kolos Automaty
Przykład:
L1=[2];
M1=[1 0];
L2=[4];
M2=[2 1];
L3=[10];
M3=[1];
L4=[1];
M4=[3 0];
L5=[1];
M5=[4 1];
[Lz1, Mz1]= feedback(L2,M2,L4,M4,-1);
[Lz2, Mz2]=parallel(L3, M3, L5, M5);
[Lz3, Mz3]=series(L1, M1, Lz1, Mz1);
[Lz, Mz]=series(Lz3, Mz3, Lz2, Mz2);
G=tf(Lz, Mz)
[A, B ,C ,D]=tf2ss(Lz, Mz)
2. podane 4 macierze: aby zrobić transformatę:
A=[0 1;-1/4 -1/2];
B=[0;1/4];
C=[1 0];
D=0;
[L M]=ss2tf(A, B, C, D);
L
M
printsys(L,M)
odpowiedz
L=
0 0 0.2500
M=
1.0000 0.5000 0.2500
num/den =
0.25
------------------
s^2 + 0.5 s + 0.25