Filter löschen
Filter löschen

Get 'min' of data

1 Ansicht (letzte 30 Tage)
Diah
Diah am 12 Dez. 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?

Akzeptierte Antwort

Matt J
Matt J am 12 Dez. 2012
Bearbeitet: Matt J am 12 Dez. 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 Kommentar
Diah
Diah am 12 Dez. 2012
ok thx Matt. Done! :-)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by