summaryrefslogtreecommitdiff
path: root/3293/CH2/EX2.2/Ex2_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3293/CH2/EX2.2/Ex2_2.sce')
-rw-r--r--3293/CH2/EX2.2/Ex2_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3293/CH2/EX2.2/Ex2_2.sce b/3293/CH2/EX2.2/Ex2_2.sce
new file mode 100644
index 000000000..776d79fcb
--- /dev/null
+++ b/3293/CH2/EX2.2/Ex2_2.sce
@@ -0,0 +1,10 @@
+//page 29
+//Example 2.2
+clear;
+clc;
+close;
+disp('A and B are two m*n matrices where m,n > 0');
+disp('Sum of A and B: (A+B)(i,j) = A(i,j) + B(i,j)');
+disp('where i and j are index values');
+disp('Product of a scalar c and matrix A: (c*A)(i,j) = c*A(i,j)');
+//end