Azzera filtri
Azzera filtri

Get 'min' of data

1 visualizzazione (ultimi 30 giorni)
Diah
Diah il 12 Dic 2012
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?

Risposta accettata

Matt J
Matt J il 12 Dic 2012
Modificato: Matt J il 12 Dic 2012
Clear the variable named "min" from your workspace. Better yet, rename it to something that isn't also the name of a MATLAB function.
  1 Commento
Diah
Diah il 12 Dic 2012
ok thx Matt. Done! :-)

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by