How can I find min between three value in matlab?

70 views (last 30 days)
Hello
I have three number, Could you help me how can I find min of them in fast way?
thanks

Accepted Answer

James Tursa
James Tursa on 6 Nov 2014
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
Guillaume
Guillaume on 6 Nov 2014
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 Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!