Exercise- Matrix - C10
A + B
A+B
## [,1] [,2] [,3]
## [1,] 4 6 -2
## [2,] 4 -3 5A + C
#A+C
A and C are not the same size.A+C is not defined.
B^t + C
B1 + C
## [,1] [,2]
## [1,] 5 2
## [2,] 6 -6
## [3,] -1 7A + B^t
#A + B1
A and B^t are not the same size. A + B^t is not defined.
(BetA)C
Beta * C
## [,1] [,2]
## [1,] 1 2
## [2,] 2 0
## [3,] -1 14A - 3B
4 * A - 3 * B
## [,1] [,2] [,3]
## [1,] -5 10 -15
## [2,] 30 30 -15A^t + (Alpha)C
A1 + (Alpha * C)
## [,1] [,2]
## [1,] 9 22
## [2,] 20 3
## [3,] -11 8A + B -C^t
A + B - C1
## [,1] [,2] [,3]
## [1,] 2 2 0
## [2,] 0 -3 34A + 2B - 5C^t.
4*A + 2*B - 5 * C1
## [,1] [,2] [,3]
## [1,] 0 0 0
## [2,] 0 0 0