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

2 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

KSSV
KSSV el 12 de Abr. de 2018
A = [,6,9,5,1];
iwant = max(A)
REad about max

Más respuestas (0)

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by