How can I find min between three value in matlab?

Hello
I have three number, Could you help me how can I find min of them in fast way?
thanks

 Accepted Answer

min([a b c])

2 Comments

bkshn
bkshn on 6 Nov 2014
Edited: bkshn on 6 Nov 2014
Hello james Tursa
just we should use ',' between a,b,c.
I want to select a vector with min sum of elements. I have three vector a,b,c that sum of elements of them are suma,sumb,sumc. I want to select the vector by min sum of element.
Could you help me?
thanks
bkshn,
[a b c]
is exactly the same as
[a, b, c]
in this case, the , is optional.
As for your new question, as it's fairly different from your original question, please start a new question.

Sign in to comment.

More Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Tags

Asked:

on 6 Nov 2014

Commented:

on 6 Nov 2014

Community Treasure Hunt

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

Start Hunting!