summaryrefslogtreecommitdiff
path: root/257/CH13/EX13.3/Example_13_3.sce
blob: 80aa943002a07344714fd282d60d08086c3e9f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
syms Y t
X1=Y;
X2=diff(Y,t);
X3=diff(X2,t);

A=[0 1 0;0 0 1; -2 -7 -4]
B=[0 ; 0 ; 5]

disp("OUTPUT IS C*X + D*U WHERE ")
C=[1 0 0 ];
D=0;
disp(C,"C=")
disp(D,"D= ")