How to combine matrices

20 views (last 30 days)
I have four matrices say A, B, C and D, all square matrices. I need to create a matrix E with all the elements in Matrices A,B,C and D. Is there a way to do that. Note: A,B,C and D are computed by the program so I can't enter the values to form E

Accepted Answer

KSSV
KSSV on 8 Sep 2017
Let A, B, C , D be your matrices of size 2X2...to get E..
E = [A B; C D] ;
  1 Comment
ABINAV SHANKAR SIVA BALAN
I never thought it would be so simple. Thank you.

Sign in to comment.

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!