diff options
Diffstat (limited to '22/CH10/EX10.10/ch10ex10.sce')
-rwxr-xr-x | 22/CH10/EX10.10/ch10ex10.sce | 13 |
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 |