[help] combining 2 matrix problems

4 ビュー (過去 30 日間)
Abdul Hamzah
Abdul Hamzah 2016 年 12 月 27 日
回答済み: Abdul Hamzah 2016 年 12 月 27 日
hey everyone, i have a question about combining 2 matrix....btw i have 2 matrix as follows :
A=[1,1,1;0,0,2];
B=[0,0,0;1,1,0];
i want to make a new matrix from the combination of my 2 previous matrix, and the result is :
C= [1,1,1;1,1,2]
does anyone here know how to do that?

採用された回答

adi kul
adi kul 2016 年 12 月 27 日
Isn't it simply ?
C=A+B;
  1 件のコメント
Stephen23
Stephen23 2016 年 12 月 27 日
+1 yes

サインインしてコメントする。

その他の回答 (1 件)

Abdul Hamzah
Abdul Hamzah 2016 年 12 月 27 日
damn thx so much :D
i knew it would be that simple :D

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by