problem with the min function or the 1.8509e+007 ??
Show older comments
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 Comment
Walter Roberson
on 12 Oct 2012
Please read the guide to tags and retag this Question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
Accepted Answer
More Answers (1)
Walter Roberson
on 11 Oct 2012
0 votes
Yes. 1.8509e+007 is approximately 18509000
4 Comments
Mariem Harmassi
on 11 Oct 2012
Edited: Mariem Harmassi
on 11 Oct 2012
Mariem Harmassi
on 11 Oct 2012
Mariem Harmassi
on 11 Oct 2012
Categories
Find more on Function Creation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!