summaryrefslogtreecommitdiff
path: root/62/CH7/EX7.36/ex_7_36.sce
diff options
context:
space:
mode:
Diffstat (limited to '62/CH7/EX7.36/ex_7_36.sce')
-rwxr-xr-x62/CH7/EX7.36/ex_7_36.sce8
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