From: Vikas Bajpai on 23 Apr 2010 15:07 Sir I have four matrices{A,B,C,D} of size 2*2 , how to merge these four matrices into a single matrix of size 4*4 like this A B C D
From: Steven Lord on 23 Apr 2010 15:10 "Vikas Bajpai" <vikas.bajpai87(a)gmail.com> wrote in message news:36b96d28-21c0-4fa7-8be6-f50903c8cb0d(a)x24g2000prc.googlegroups.com... > Sir > I have four matrices{A,B,C,D} of size 2*2 , how to merge these four > matrices into a single matrix of size 4*4 like this > A B > C D Regular concatenation. Just as you'd create a 2-by-2 from regular numbers with: [1, 2; 3, 4] create a 4-by-4 from your 2-by-2's with: [A, B; C, D] -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
Pages: 1 Prev: to write matrix in text file Next: Avoiding for loop for an array of image indices |