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

3 views (last 30 days)
Ammaa AlSada
Ammaa AlSada on 15 Dec 2018
Commented: madhan ravi on 16 Dec 2018
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)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by