MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > To compile several matrices in a matrix 

Subject: To compile several matrices in a matrix From: Sheri Date: 5 Mar, 2012 22:10:13 Message: 1 of 9 
There are 300 matrices with same size (30,129). I need to compile all these matrices in a matrix (9000,129). How can I do that? 
Subject: To compile several matrices in a matrix From: Nasser M. Abbasi Date: 5 Mar, 2012 22:40:38 Message: 2 of 9 
On 3/5/2012 4:10 PM, Sheri wrote: 
Subject: To compile several matrices in a matrix From: Sheri Date: 5 Mar, 2012 22:55:13 Message: 3 of 9 
The size of matrices are the same but, the content of matrices are not the same, for example: 
Subject: To compile several matrices in a matrix From: Nasser M. Abbasi Date: 5 Mar, 2012 23:10:13 Message: 4 of 9 
On 3/5/2012 4:55 PM, Sheri wrote: 
Subject: To compile several matrices in a matrix From: Sheri Date: 6 Mar, 2012 13:46:12 Message: 5 of 9 
Let me play with numbers which are more formal statements. 
Subject: To compile several matrices in a matrix From: Nasser M. Abbasi Date: 6 Mar, 2012 14:23:12 Message: 6 of 9 
On 3/6/2012 7:46 AM, Sheri wrote: 
Subject: To compile several matrices in a matrix From: someone Date: 6 Mar, 2012 16:11:15 Message: 7 of 9 
"Sheri " <sghaumipour@gmail.com> wrote in message <jj54f4$ekg$1@newscl01ah.mathworks.com>... 
Subject: To compile several matrices in a matrix From: Sheri Date: 6 Mar, 2012 17:19:12 Message: 8 of 9 
OK, but how could I write a loop to take all A1, A2, A3,...A300 to create a cell called "A", which is A{1}, A{2}, A{3},...A{300}? 
Subject: To compile several matrices in a matrix From: someone Date: 6 Mar, 2012 19:08:14 Message: 9 of 9 
"Sheri " <sghaumipour@gmail.com> wrote in message <jj5gug$g0$1@newscl01ah.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.