summaryrefslogtreecommitdiff
path: root/3293/CH2/EX2.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3293/CH2/EX2.10
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3293/CH2/EX2.10')
-rwxr-xr-x3293/CH2/EX2.10/Ex2_10.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3293/CH2/EX2.10/Ex2_10.sce b/3293/CH2/EX2.10/Ex2_10.sce
new file mode 100755
index 000000000..4353013aa
--- /dev/null
+++ b/3293/CH2/EX2.10/Ex2_10.sce
@@ -0,0 +1,18 @@
+//page 38
+//Example 2.10
+clear;
+clc;
+close;
+A = [1 2 0 3 0;0 0 1 4 0;0 0 0 0 1];
+disp(A,'A = ');
+disp('The subspace of F^5 spanned by a1 a2 a3(row vectors of A) is called row space of A.');
+a1 = A(1,:);
+a2 = A(2,:);
+a3 = A(3,:);
+disp(a1,'a1 = ');
+disp(a2,'a2 = ');
+disp(a3,'a3 = ');
+disp('And, it is also the row space of B.');
+B = [1 2 0 3 0;0 0 1 4 0;0 0 0 0 1;-4 -8 1 -8 0];
+disp(B,'B = ');
+//end