Find the min(or max) of the 2nd row of an unknown matrix?

2 views (last 30 days)
matrix A(m,n)
we need to find min or max of only the 2nd row if we have a 2nd row

Accepted Answer

madhan ravi
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

Sign in to comment.

More Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by