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

2 views (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)

Categories

Find more on Entering Commands in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!