How to combine matrices

조회 수: 18 (최근 30일)
ABINAV SHANKAR SIVA BALAN
ABINAV SHANKAR SIVA BALAN 2017년 9월 8일
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

채택된 답변

KSSV
KSSV 2017년 9월 8일
Let A, B, C , D be your matrices of size 2X2...to get E..
E = [A B; C D] ;
  댓글 수: 1
ABINAV SHANKAR SIVA BALAN
ABINAV SHANKAR SIVA BALAN 2017년 9월 8일
I never thought it would be so simple. Thank you.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by