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

2 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by