diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /62/CH7/EX7.36/ex_7_36.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '62/CH7/EX7.36/ex_7_36.sce')
-rwxr-xr-x | 62/CH7/EX7.36/ex_7_36.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/62/CH7/EX7.36/ex_7_36.sce b/62/CH7/EX7.36/ex_7_36.sce new file mode 100755 index 000000000..3ce1967de --- /dev/null +++ b/62/CH7/EX7.36/ex_7_36.sce @@ -0,0 +1,8 @@ +clc;
+A=[0 1;-1/8 3/4];
+B=[0;1];
+q2=[0 ;0];
+q0=[0;1];
+//we know q2=A^2*q0+[B A*B]*X
+X=inv([B A*B])*[q2-A^2*q0];
+disp(X,"therefore [x(1);x(0)]=")
\ No newline at end of file |