diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /257/CH13/EX13.4 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '257/CH13/EX13.4')
-rw-r--r-- | 257/CH13/EX13.4/Example_13_4.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/257/CH13/EX13.4/Example_13_4.sce b/257/CH13/EX13.4/Example_13_4.sce new file mode 100644 index 000000000..8171b3d47 --- /dev/null +++ b/257/CH13/EX13.4/Example_13_4.sce @@ -0,0 +1,19 @@ +syms s X1 X2 X3 U;
+
+T=(s^2+3*s+3)/(s^3+2*s^2+3*s+1)
+L1=-2/s;
+L2=-3/s^2
+L3=-1/s^3;
+T1=1/s;
+T2=3/s^2;
+T3=3/s^3;
+
+del1=1;
+del2=1;
+del3=1;
+
+disp("state modle is")
+A=[-2 1 0; -3 0 1; -1 0 0]
+B=[1;3;3]*U
+X=[X1;X2;X3]
+disp(A*X+B,"[diff(X1);diff(X2);diff(X3)]=")
\ No newline at end of file |