Get 'min' of data

I want to get minimum value of data. But the result like this:
>> aaa=[0.517651798424649;0.52533232110199]
aaa =
0.517651798424649
0.52533232110199
>> [v di]=min(aaa)
??? Indexing cannot yield multiple results.
What should I do?

 Respuesta aceptada

Matt J
Matt J el 12 de Dic. de 2012
Editada: Matt J el 12 de Dic. de 2012

0 votos

Clear the variable named "min" from your workspace. Better yet, rename it to something that isn't also the name of a MATLAB function.

Más respuestas (0)

Preguntada:

el 12 de Dic. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by