Azzera filtri
Azzera filtri

How can I find min between three value in matlab?

67 visualizzazioni (ultimi 30 giorni)
Hello
I have three number, Could you help me how can I find min of them in fast way?
thanks

Risposta accettata

James Tursa
James Tursa il 6 Nov 2014
min([a b c])
  2 Commenti
bkshn
bkshn il 6 Nov 2014
Modificato: bkshn il 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 il 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by