diff options
Diffstat (limited to '70/CH3/EX3.2.2/3_2_2.sci')
-rwxr-xr-x | 70/CH3/EX3.2.2/3_2_2.sci | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/70/CH3/EX3.2.2/3_2_2.sci b/70/CH3/EX3.2.2/3_2_2.sci new file mode 100755 index 000000000..537434464 --- /dev/null +++ b/70/CH3/EX3.2.2/3_2_2.sci @@ -0,0 +1,9 @@ +//page 156 +clear; +close; +clc; +a=[1;1;1]; +disp(a,'a='); +P=(a*a')/(a'*a); +disp(P,'Matrix that projects onto a line through a=(1,1,1) is'); +//end
\ No newline at end of file |