summaryrefslogtreecommitdiff
path: root/70/CH3/EX3.4.2/3_4_2.sci
diff options
context:
space:
mode:
Diffstat (limited to '70/CH3/EX3.4.2/3_4_2.sci')
-rwxr-xr-x70/CH3/EX3.4.2/3_4_2.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/70/CH3/EX3.4.2/3_4_2.sci b/70/CH3/EX3.4.2/3_4_2.sci
new file mode 100755
index 000000000..31158953d
--- /dev/null
+++ b/70/CH3/EX3.4.2/3_4_2.sci
@@ -0,0 +1,10 @@
+//page 175
+clear;
+close;
+clc;
+disp('Any permutation matrix is an orthogonal matrix.The columns are certainly unit vectors and certainly orthogonal-because the 1 appears in a differnt place in each column')
+P=[0 1 0;0 0 1;1 0 0];
+disp(P,'P=');
+disp(P','inv(P)=P''=');
+disp(P'*P,'And,P''*P=');
+//end \ No newline at end of file