problem with the min function or the 1.8509e+007 ??
2 次查看(过去 30 天)
显示 更早的评论
Hello everybody I have a vector with three input values so this is how my vector is :
F=[ss(60,57) ;ss(13,57) ;ss(14,57)]
F(1)
ans =
18471736
>> F(2)
ans =
1.8509e+007
>> F(3)
ans =
23963413
So i called the min function as this : [C,I]=min(F); >> C
C =
18471736
>> I
I =
1
Does 18471736 inf to 1.8509e+007
1 个评论
Walter Roberson
2012-10-12
Please read the guide to tags and retag this Question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
采纳的回答
Matt Fig
2012-10-11
There is no problem that I can see.
Yes, 1.847e7 is less than 1.851e7 and 2.396e7. Why would you expect anything else?
5 个评论
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!