MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > reshape a matrix (can I use reshape or reshapec?) 

Subject: reshape a matrix (can I use reshape or reshapec?) From: mobileT83 T Date: 20 May, 2010 16:06:06 Message: 1 of 5 
I would like to take a MxNxL matrix and get a M*NxL matrix. I know I can do this with two for loops 
Subject: reshape a matrix (can I use reshape or reshapec?) From: Roger Stafford Date: 20 May, 2010 18:02:19 Message: 2 of 5 
"mobileT83 T" <mobileT83@gmail.com> wrote in message <ht3mle$9re$1@fred.mathworks.com>... 
Subject: reshape a matrix (can I use reshape or reshapec?) From: Matt Fig Date: 20 May, 2010 18:15:26 Message: 3 of 5 
Perhaps 
Subject: reshape a matrix (can I use reshape or reshapec?) From: mobileT83 T Date: 21 May, 2010 01:28:03 Message: 4 of 5 
Thank you for the advice, I understand what you are saying, I really need a table... and they would have values corresponding to the values in each M, N, and L dimensions. 
Subject: reshape a matrix (can I use reshape or reshapec?) From: mobileT83 T Date: 21 May, 2010 10:38:04 Message: 5 of 5 
This worked perfectlly!!! I just had trouble testing it. Is there any way I could get vectors M and N returned in the correct order corresponding to 
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.