blob: 776d79fcb97defdc175b81bd24b81badf881d25d (
plain)
1
2
3
4
5
6
7
8
9
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
|