Question: Lab Question: Write MATLAB script that as the user to enter the size of a matrix ( row, col ) , then ask the user

Lab Question: Write MATLAB script that as the user to enter the size of a matrix ( row, col ) , then ask the user to enter the numbers of the matrix based on the size entered earlier, then print the following :

1. Print the matrix column in reverse for example : if A = 4 1 3 2 8 6 5 7 11 12 9 10 The output should be : 2 3 1 4 7 5 6 8 10 9 12 11

2. The Minimum number in each row ( print the row number and the maximum number in that row ) Ex : The Minimum number in row 1 is = 1 The Minimum number in row 2 is = 5 The Minimum number in row 3 is = 9 ..

3. The Maximum number in the entire matrix Hints : you could use the built in functions max( ) and min(. )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!