Professional Documents
Culture Documents
Lab 2 F
Lab 2 F
a) A*b
ans =
52
60
32
77
b) a+4
ans =
2 8 -1
c) b*a
ans =
-3 2 -4 5
18 -12 24 -30
0 0 0 0
27 -18 36 -45
d) a*b’ not possible due to order of multiply
e) A*a'
ans =
-12
-24
26
13
Activity 2: Difference between a^2, a.^2 & a*a where ‘a’ is any matrix
let a= 1 2 3
4 5 6
7 8 9