Results 1 to 2 of 2

Math Help - Rotating a matrix in n dimensions

  1. #1
    Newbie
    Joined
    Jan 2010
    Posts
    4

    Rotating a matrix in n dimensions

    hi all,

    I want to rotate any given matrix of n dimensions. I can do this in 2d and 3d but I cant think of a general formula that does this for any given dimension.
    Please help...
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    Joined
    Jan 2009
    Posts
    591
    Quote Originally Posted by mathfreak View Post
    hi all,

    I want to rotate any given matrix of n dimensions. I can do this in 2d and 3d but I cant think of a general formula that does this for any given dimension.
    Please help...
    It is merely an extention of what you are doing with some additional options.

    Suppose you have a 2d matrix of 5 columns and 5 rows.
    You can rotate it clockwise or counterclockwise.
    You can map the cells before rotation to the cells after rotation. Not a big problem.

    If you extend your matrix to a 3d and still have 5 rows and 5 columns & 5 tuples (or plies), you have additional possibilities.
    You can rotate clockwise or counterclockwise.
    You can rotate the top towards or away from you.
    You can rotate the right side towards or away.

    With each increase in dimension 4d, 5d, 6d you are given additional possibilities for the rotation of each facet.

    Just wondering, do you have an application for rotating a cube or is this just for "for the fun" of being able to do it?

    I have worked with a matrix of 48 rows and 48 columns.
    Rotated it clockwise & counterclockwise.
    Transposed it.
    Reflected it.
    And a few other things.

    However, I've never had any reason to shift the cells in a 3d matrix of any size -- excluding the [1x1x1] matrix.

    If you will post your method of rotating a 3d matrix (a cube) then I will provide you an algorithm for rotating a 4d matrix.

    ok.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Question concerning matrix dimensions.
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: May 21st 2011, 03:49 PM
  2. matlab error: Inner matrix dimensions must agree
    Posted in the Math Software Forum
    Replies: 7
    Last Post: March 25th 2011, 12:20 AM
  3. Replies: 3
    Last Post: May 27th 2010, 12:53 AM
  4. Index exceeds matrix dimensions.
    Posted in the Math Software Forum
    Replies: 1
    Last Post: April 27th 2010, 07:45 AM
  5. TI-89: Can't adjust matrix dimensions
    Posted in the Calculators Forum
    Replies: 3
    Last Post: July 1st 2008, 12:17 PM

Search Tags


/mathhelpforum @mathhelpforum