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

 채택된 답변

madhan ravi
madhan ravi 2019년 3월 27일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2019년 3월 27일

댓글:

2019년 3월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by