could anyone tell me how to select the largest number among all the numbers.

1 view (last 30 days)
could anyone tell me how to select the largest number among all the numbers. for example if i am having (2,6,9,5,1) then how can i select the largest number.

Accepted Answer

KSSV
KSSV on 12 Apr 2018
A = [,6,9,5,1];
iwant = max(A)
REad about max

More Answers (0)

Community Treasure Hunt

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

Start Hunting!