Find the min(or max) of the 2nd row of an unknown matrix?
3 views (last 30 days)
Show older comments
matrix A(m,n)
we need to find min or max of only the 2nd row if we have a 2nd row
0 Comments
Accepted Answer
madhan ravi
on 15 Dec 2018
Edited: madhan ravi
on 15 Dec 2018
[value,index]=max(A(2,:))
[Value,Index]=min(A(2,:))
2 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!