[help] combining 2 matrix problems

1 vue (au cours des 30 derniers jours)
Abdul Hamzah
Abdul Hamzah le 27 Déc 2016
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?

Réponse acceptée

adi kul
adi kul le 27 Déc 2016
Isn't it simply ?
C=A+B;
  1 commentaire
Stephen23
Stephen23 le 27 Déc 2016
+1 yes

Connectez-vous pour commenter.

Plus de réponses (1)

Abdul Hamzah
Abdul Hamzah le 27 Déc 2016
damn thx so much :D
i knew it would be that simple :D

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by