Question: Consider the two matrices [A=begin{array}{rrr}1 & 0 & 1 2 & 3 & 4 -1 & 6 & 7end{array} quad text { and } B=begin{array}{rrr}7
Consider the two matrices
\[A=\begin{array}{rrr}1 & 0 & 1 \\2 & 3 & 4 \\-1 & 6 & 7\end{array} \quad \text { and } B=\begin{array}{rrr}7 & 4 & 2 \\3 & 5 & 6 \\-1 & 2 & 1\end{array}\]
Using MATLAB, determine the following:
(a) $\mathbf{A}+\mathbf{B}$
(b) $\mathbf{A B}$
(c) $\mathbf{A}^{2}$
(d) $\mathbf{A}^{\mathrm{T}}$
(e) $\mathbf{B}^{-1}$
(f) $\mathbf{B}^{\mathbf{T}} \mathbf{A}^{\mathbf{T}}$
(g) $\mathbf{A}^{2}+\mathbf{B}^{2}-\mathbf{A B}$
(h) $\operatorname{det} \boldsymbol{A}, \operatorname{det} \boldsymbol{B}$, and $\operatorname{det}$ of $\boldsymbol{A B}$.
Step by Step Solution
3.41 Rating (145 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
