Question: please show the steps QUESTION 1 In Matlab, you can declare matrices as follows: A:[123;456;789]; B:[1234;1234;1234]; Which of the following statements is true? Both of
please show the steps

![as follows: A:[123;456;789]; B:[1234;1234;1234]; Which of the following statements is true? Both](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/10/6703fc287f741_4086703fc285de63.jpg)
QUESTION 1 In Matlab, you can declare matrices as follows: A:[123;456;789]; B:[1234;1234;1234]; Which of the following statements is true? Both of the matrix operations below will yield a new matrix: Q C : A*B C : A+B Neither of the matrix operations below will yield a new matrix: C:A*B O C :A+B Only the addition of the two matrices will yield a new matrix: OC=A+B Only the multiplaclion of the two matrices will yield a new matrix: OC:A*B QUESTION 2 Given matrices A and B: A:[123;456;789]; B:[123;123;123]; What is the result when we multiply them together? Note: these are presented in the tormat that you would enter the matrix into Matlab - so that you can practice interpreting and getting used to the format. 0 C : [ 6 15 24; 12 30 48 ; 1E 45 72]; O C = [6 12 18 ; 14 48 72; 15 3O 45]; O C = [6 12 18 ; 15 30 45; 24 48 72]; O C=[ 6 15 24,- 12 3a 48 ; 15 54 72]; QUESTION 3 Which of the following commands allows you to extract the second row, third column entry of a matrix A? o C: \"3.2) O C: A(3,:) 0 C= A(:,3) O C: A(2,3) QUESTION 4 What is the value in the (1,3) entryofthe \"transpose\" of A: A=[123;456;789]; OT 03 O1 09 QUESTION 5 Which of the following commands will allow you to extract the 2nd column of the matrix: A:[123;456;789]; and assign it to the vector D? o o = A(:,1) O D = A(1,:) 0 D = A(2,:) 0 D : A(:,2) QUESTIONS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
