How can I find min between three value in matlab?

68 visualizaciones (últimos 30 días)
bkshn
bkshn el 6 de Nov. de 2014
Comentada: Guillaume el 6 de Nov. de 2014
Hello
I have three number, Could you help me how can I find min of them in fast way?
thanks

Respuesta aceptada

James Tursa
James Tursa el 6 de Nov. de 2014
min([a b c])
  2 comentarios
bkshn
bkshn el 6 de Nov. de 2014
Editada: bkshn el 6 de Nov. de 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 el 6 de Nov. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by