Get 'min' of data

1 次查看(过去 30 天)
Diah
Diah 2012-12-12
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?

采纳的回答

Matt J
Matt J 2012-12-12
编辑:Matt J 2012-12-12
Clear the variable named "min" from your workspace. Better yet, rename it to something that isn't also the name of a MATLAB function.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by