Q1/A=[-1 0 1 2; 0 21 3;1 4 0 0; 2 22 2] B=[201 2; 0 4 1 1; 222 2; 2 1 0-1] using Matlab 1) Create a sub-matrix with last two column of A. 2- Delete the third row of A. 3-Interchange column 2 and 4 of...

i need the answer quicklyQ1/A=[-1 0 1 2; 0 21 3;1 4 0 0; 2 22 2]<br>B=[201 2; 0 4 1 1; 222 2; 2 1 0-1]<br>using Matlab<br>1) Create a sub-matrix with last two column of A.<br>2- Delete the third row of A. 3-Interchange column 2 and 4 of A.<br>4- A(end:-1:2,end).<br>5- Replace the end column in A.<br>6- A(2,end-1:end). 7- C=[A([1 2],[1 2 3]) zeros (2,3); ones(2,3) eye (2,3)].<br>8- D= multiply two matrices B and C.<br>9- To raises the elements of a matrix B to a power 2.<br>10- Size of matrix D. 11-call the seventh element in matrix D.<br>

Extracted text: Q1/A=[-1 0 1 2; 0 21 3;1 4 0 0; 2 22 2] B=[201 2; 0 4 1 1; 222 2; 2 1 0-1] using Matlab 1) Create a sub-matrix with last two column of A. 2- Delete the third row of A. 3-Interchange column 2 and 4 of A. 4- A(end:-1:2,end). 5- Replace the end column in A. 6- A(2,end-1:end). 7- C=[A([1 2],[1 2 3]) zeros (2,3); ones(2,3) eye (2,3)]. 8- D= multiply two matrices B and C. 9- To raises the elements of a matrix B to a power 2. 10- Size of matrix D. 11-call the seventh element in matrix D.

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here