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 Center および File ExchangeGet 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