summaryrefslogtreecommitdiff
path: root/3293/CH1/EX1.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3293/CH1/EX1.8
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/CH1/EX1.8')
-rwxr-xr-x3293/CH1/EX1.8/Ex1_8.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3293/CH1/EX1.8/Ex1_8.sce b/3293/CH1/EX1.8/Ex1_8.sce
new file mode 100755
index 000000000..52f6e2780
--- /dev/null
+++ b/3293/CH1/EX1.8/Ex1_8.sce
@@ -0,0 +1,21 @@
+//page 12
+//Example 1.8
+clear;
+close;
+clc;
+n = rand();
+n = round(n*10);
+disp(eye(n,n));
+printf('This is an Identity matrix of order %d * %d',n,n);
+disp('And It is a row reduced matrix.');
+m = rand();
+n = rand();
+m = round(m*10);
+n = round(n*10);
+disp(zeros(m,n));
+printf('This is an Zero matrix of order %d * %d',m,n);
+disp('And It is also a row reduced matrix.');
+a = [0 1 -3 0 1/2;0 0 0 1 2;0 0 0 0 0];
+disp(a,'a = ');
+disp('This is a non-trivial row reduced matrix.');
+//end