MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Indexing a 2D matrix into a 3D matrix help 

Subject: Indexing a 2D matrix into a 3D matrix help From: Eric Date: 11 Nov, 2010 22:39:04 Message: 1 of 5 
I would like to index part of a 2dimensional matrix into specific locations within 3dimensional matrix. I believe this works using a for loop: 
Subject: Indexing a 2D matrix into a 3D matrix help From: Sean Date: 11 Nov, 2010 22:57:04 Message: 2 of 5 
"Eric " <ebaumer@gmail.com> wrote in message <ibhra8$1kt$1@fred.mathworks.com>... 
Subject: Indexing a 2D matrix into a 3D matrix help From: Eric Date: 11 Nov, 2010 23:26:03 Message: 3 of 5 
"Sean " <sean.dewolski@nospamplease.umit.maine.edu> wrote in message <ibhsc0$895$1@fred.mathworks.com>... 
Subject: Indexing a 2D matrix into a 3D matrix help From: James Tursa Date: 11 Nov, 2010 23:50:04 Message: 4 of 5 
"Eric " <ebaumer@gmail.com> wrote in message <ibhu2b$oue$1@fred.mathworks.com>... 
Subject: Indexing a 2D matrix into a 3D matrix help From: Eric Date: 12 Nov, 2010 02:29:04 Message: 5 of 5 
Thanks! The example definitely helps clear things up. I appreciate your time. 
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.