blob: 23990970a721f0a63aa0601e4d692ca09777b709 (
plain)
1
2
3
4
5
6
7
|
printf("given the differential equation \n let select the state variables as x1=y,x2=y(dot),x3=y(double dot)")
a=[0 1 0;0 0 1;-10 -11 -6]
b=[0;0;8]
disp("x(t)=[x1;x2;x3]")
disp(a,"A=")
disp(b,"B=")
|