join two matrices together

3 vues (au cours des 30 derniers jours)
Ricky
Ricky le 29 Mai 2013
Hello,
I have two matrices, MatrixA 177*4 and MatrixB 177*4 . I want to create a third Matrix which takes the first column of Matrix A and second column of MatrixB . So my final dimensions of MatrixC will be 177*8.
Thanks

Réponse acceptée

John Doe
John Doe le 29 Mai 2013
C = reshape([A; B],177,8)
Good luck!
- Rob

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by