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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started