Thread Subject: rotations and reflections in matlab

Subject: rotations and reflections in matlab

From: Midhun

Date: 20 Aug, 2009 16:45:18

Message: 1 of 2

How can i check whether a matrix is a reflection / obtained by rotation / combination of rotation and reflection of another matrix ?

eg: [ 1 2 ] on vertical reflection gives [ 2 1 ] which on -90 deg. rotation
       [ 5 4 ] [ 4 5 ]

    gives [ 1 5 ]
             [ 2 4 ]

Also, how can I find reflection of a matrix along main-diagonal & off-diagonal.

Subject: rotations and reflections in matlab

From: Bruno Luong

Date: 20 Aug, 2009 17:02:04

Message: 2 of 2

"Midhun " <midhunjoyp@gmail.com> wrote in message <h6juit$et5$1@fred.mathworks.com>...
> How can i check whether a matrix is a reflection / obtained by rotation / combination of rotation and reflection of another matrix ?
>
> eg: [ 1 2 ] on vertical reflection gives [ 2 1 ] which on -90 deg. rotation
> [ 5 4 ] [ 4 5 ]
>
> gives [ 1 5 ]
> [ 2 4 ]
>
> Also, how can I find reflection of a matrix along main-diagonal & off-diagonal.

Take QR decomposition, nd check if abs(R) is "close" to identity.

Bruno

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

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.

Tag Activity for This Thread
Tag Applied By Date/Time
rotations Midhun 20 Aug, 2009 12:49:06
reflections Midhun 20 Aug, 2009 12:49:06
rssFeed for this Thread

Contact us at files@mathworks.com