diff options
Diffstat (limited to '70/CH3/EX3.1.1')
-rwxr-xr-x | 70/CH3/EX3.1.1/3_1_1.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/70/CH3/EX3.1.1/3_1_1.sci b/70/CH3/EX3.1.1/3_1_1.sci new file mode 100755 index 000000000..45b6c7be8 --- /dev/null +++ b/70/CH3/EX3.1.1/3_1_1.sci @@ -0,0 +1,10 @@ +//page 143 +clear; +close; +clc; +x1=[2;2;-1]; +disp(x1,'x1='); +x2=[-1;2;2]; +disp(x2,'x2='); +disp(x1'*x2,'x1''*x2='); +disp('Therefore,X1 is orthogonal to x2 .Both have length of sqrt(14).')
\ No newline at end of file |