What is the output from the following MATLAB / Scilab code? A = [1 2 3; 4 5 6; 7 8 9]; A(4, 5) = 20; A(3, 3) 0 1 2 3 4 5 6 7 8 9 20 Error: Invalid Index / Index out of bounds. None of the above or No output.
Added by Laura T.
Close
Step 1
A = [123; 45 6; 7 8 9] creates a matrix A with the following structure: A = $\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}$ Show more…
Show all steps
Your feedback will help us improve your experience
Adi S and 89 other Calculus 3 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
How did MATLAB get this result, dividing a square matrix by a column? Can you explain it mathematically?
William M.
In MATLAB notation, write the commands that define the matrix $A$ and the column vectors $x$ and $b$. What command would test whether or not $A x=b$ ? $$ A=\left[\begin{array}{ll} 1 & 2 \\ 3 & 4 \end{array}\right] \quad x=\left[\begin{array}{r} 5 \\ -2 \end{array}\right] \quad b=\left[\begin{array}{l} 1 \\ 7 \end{array}\right] $$
Matrices And Gaussian Elimination
Matrix Notation and Matrix Multiplication
Use the following matrix. $$A=\left[\begin{array}{rrrr}-1 & 2 & 0 & 4 \\ 2.1 & -7 & 9 & 0 \\ 1 & 0 & -\frac{2}{3} &\pi\end{array}\right]$$ Why is $a_{43}$ not defined?
Systems of Equations and Inequalities
Operations on Matrices
Recommended Textbooks
Calculus: Early Transcendentals
Thomas Calculus
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD