summaryrefslogtreecommitdiff
path: root/22/CH10/EX10.10/ch10ex10.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /22/CH10/EX10.10/ch10ex10.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '22/CH10/EX10.10/ch10ex10.sce')
-rwxr-xr-x22/CH10/EX10.10/ch10ex10.sce13
1 files changed, 7 insertions, 6 deletions
diff --git a/22/CH10/EX10.10/ch10ex10.sce b/22/CH10/EX10.10/ch10ex10.sce
index ef4197be5..4c7c0cbdd 100755
--- a/22/CH10/EX10.10/ch10ex10.sce
+++ b/22/CH10/EX10.10/ch10ex10.sce
@@ -1,7 +1,8 @@
-A=[0 1;-2 -3];
-[V,lambda]=spec(A);
-B=[1;2];
-Bhat=P*B
-disp(P,"P=")
-disp(Bhat,"B^=")
+A=[0 1;-2 -3];
+ P = [2 1; 1 1]
+[V,lambda]=spec(A);
+B=[1;2];
+Bhat=P*B
+disp(P,"P=")
+disp(Bhat,"B^=")
disp(lambda,"lambda=") \ No newline at end of file