If $A = \begin{bmatrix} 2 & 1 \\ 1 & 0 \\ 1 & 2 \end{bmatrix}$ and $B = \begin{bmatrix} 5 & -1 & 6 \\ 2 & 0 & 3 \end{bmatrix}$, write a MATLAB script to find AxB, the transpose of B, and the inverse of AxB.
Added by Marissa J.
Close
Step 1
A = [1 0; 0 1]; B = [0 -1; 1 0]; Show more…
Show all steps
Your feedback will help us improve your experience
Shelayah Robinson and 87 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Determine if $B$ is the inverse matrix of $A$ by calculating $A B$ and $B A$ $$ A=\left[\begin{array}{rrr} 1 & -1 & 1 \\ 0 & 1 & 0 \\ 1 & 1 & 2 \end{array}\right], \quad B=\left[\begin{array}{rrr} 2 & 3 & -1 \\ 0 & 1 & 0 \\ -1 & -2 & 1 \end{array}\right] $$
Systems of Equations and Inequalities
Inverses of Matrices
Determine if $B$ is the inverse matrix of $A$ by calculating $A B$ and $B A$ $$ A=\left[\begin{array}{rrr} 1 & -1 & 2 \\ 0 & 1 & -1 \\ 1 & 0 & 2 \end{array}\right], \quad B=\left[\begin{array}{rrr} 2 & 2 & -1 \\ -1 & 0 & 1 \\ -1 & -1 & 1 \end{array}\right] $$
Determine if $B$ is the inverse matrix of $A$ by calculating $A B$ and $B A$ $$ A=\left[\begin{array}{rrr} 2 & 1 & 1 \\ -1 & 0 & -1 \\ 0 & 2 & -1 \end{array}\right], \quad B=\left[\begin{array}{rrr} 2 & 3 & -1 \\ -1 & -2 & 1 \\ -2 & -4 & 1 \end{array}\right] $$
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD