Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please, solve according to matlab codes step by step. h. Create a matrix called MA which has length(VA) rows and each row equals to HA

Please, solve according to matlab codes step by step.

image text in transcribed

h. Create a matrix called MA which has length(VA) rows and each row equals to HA by using meshgrid.

Create the following matrix 12 35 36 12 54 28 34 65 66 62 41 65 A-148 23 48 87 10 40 77 65 76 22 38 54 76 13 12 10 52 38 a. Find locations (i.e. row and column indices) of 10th, 16th and 24th elements of matrix A. (Hint: Use "floor" and "rem" built-in functions.) b. Find the element index of A(2,3), A(3,4) and A(5,5). c. Use "reshape" command to convert the 5 by 6 given matrix A to a 10 by 3 matrix. Assign the new matrix into a variable called B. In which order the elements were assigned into new matrix? Explain d. Find locations (i.e. row and column indices) of 10h 16h and 24h elements of matrix B. e. Find the element index of B(2,3), A(7,3) and A(5,3). f. Sort matrix A based on the third column in ascending order and descending orders by using the "sortrows" built-in function. g. Assign the first column of matrix A into a vector called VA and last row into a vector HA

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

More Books

Students also viewed these Databases questions

Question

=+employee to take on the international assignment?

Answered: 1 week ago

Question

=+differences in home- and host-country costs of living?

Answered: 1 week ago