Adding smaller matrices into a bigger matrix
이전 댓글 표시
How to add two small matrices a(2X2) and b(2X2) into a large matrix of K(3X3) such that matrix a occupies K(1:2,1:2) and matrix b occupies K(2:3,2:3)).
Also at the intersection of two matrices i.e., K(2,2) = a(2,2)+b(1,1)
K = (a(1,1) a(1,2) 0
a(2,1) a(2,2)+b(1,1) b(1,2)
0 b(2,1) b(2,2))];
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!