필터 지우기
필터 지우기

hi every one ,

조회 수: 2 (최근 30일)
mina massoud
mina massoud 2019년 3월 27일
댓글: mina massoud 2019년 3월 27일
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
Alex Mcaulley
Alex Mcaulley 2019년 3월 27일
See min function, it will help you:

댓글을 달려면 로그인하십시오.

채택된 답변

madhan ravi
madhan ravi 2019년 3월 27일
Use min() for the vector C to get D vector.
doc min % read it
  댓글 수: 1
mina massoud
mina massoud 2019년 3월 27일
thank u

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by