A=[ 5 6 2 9 10 15 1 2 4 9 ]
B=[ 3 8 1 0 12 10 3 5 7 8 ]
C= [A ; B]
i need from C for each column the smaller value and put it in a row vector D (1x10)
how can i do it
thank u

 Respuesta aceptada

madhan ravi
madhan ravi el 27 de Mzo. de 2019

1 voto

Use min() for the vector C to get D vector.
doc min % read it

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.

Productos

Versión

R2018b

Etiquetas

Preguntada:

el 27 de Mzo. de 2019

Comentada:

el 27 de Mzo. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by