MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > index manipulation... shifting and rotating 

Subject: index manipulation... shifting and rotating From: Anthony Hopf Date: 25 May, 2010 01:54:03 Message: 1 of 9 
I know there are functions like rot90 to rotate a matrix about a point, but you need the the matrix. I only have the linear index values of the matrix. I can easily shift the indexes by adding or subtracting either row or column values... but what if I wanted to rotate by 90 or 180 degrees... is this possible with just the index values? 
Subject: index manipulation... shifting and rotating From: TideMan Date: 25 May, 2010 02:18:41 Message: 2 of 9 
On May 25, 1:54 pm, "Anthony Hopf" <anthony.h...@gmail.com> wrote: 
Subject: index manipulation... shifting and rotating From: Walter Roberson Date: 25 May, 2010 02:22:11 Message: 3 of 9 
Anthony Hopf wrote: 
Subject: index manipulation... shifting and rotating From: Anthony Hopf Date: 25 May, 2010 09:58:04 Message: 4 of 9 
TideMan <mulgor@gmail.com> wrote in message <6fc95e16178c4bc0b4f4ee7e5fe58d93@x27g2000prf.googlegroups.com>... 
Subject: index manipulation... shifting and rotating From: Anthony Hopf Date: 25 May, 2010 10:03:09 Message: 5 of 9 
Walter Roberson <roberson@hushmail.com> wrote in message <nvGKn.18764$Gx2.3351@newsfe20.iad>... 
Subject: index manipulation... shifting and rotating From: Anthony Hopf Date: 25 May, 2010 11:06:04 Message: 6 of 9 
Walter Roberson <roberson@hushmail.com> wrote in message <nvGKn.18764$Gx2.3351@newsfe20.iad>... 
Subject: index manipulation... shifting and rotating From: Walter Roberson Date: 25 May, 2010 14:16:35 Message: 7 of 9 
Anthony Hopf wrote: 
Subject: index manipulation... shifting and rotating From: Anthony Hopf Date: 25 May, 2010 22:02:08 Message: 8 of 9 
Walter Roberson <roberson@hushmail.com> wrote in message <8ZQKn.10564$%u7.1542@newsfe14.iad>... 
Subject: index manipulation... shifting and rotating From: Walter Roberson Date: 25 May, 2010 22:33:18 Message: 9 of 9 
Anthony Hopf wrote: 
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.