MATLAB Answers

0

hi every one ,

Asked by mina massoud on 27 Mar 2019
Latest activity Commented on by mina massoud on 27 Mar 2019
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

  1 Comment

Alex Mcaulley on 27 Mar 2019
See min function, it will help you:

Sign in to comment.

Products


Release

R2018b

1 Answer

madhan ravi
Answer by madhan ravi
on 27 Mar 2019
 Accepted Answer

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

  1 Comment

mina massoud on 27 Mar 2019
thank u

Sign in to comment.