Trying to implement QR decomposition using Givens rotations, I calculate G1 to zero n32 of original matrix A, then G2 to zero n31 of G1 * A, then G2 to zero n21 of G2 * G1 * A. Residual matrix, R = G3 * G2 * G1 * A comes upper triangular as expected, so I believe my code is correct.(adsbygoogle = window.adsbygoogle || []).push({});

Looking at rotation matrix Q = G1^T * G2^T * G3^T against Euler rotation matrix X * Y * Z, I thought that I could use angles of Givens rotations as Euler angles up to sign correction at max.

To test this idea, I ran QR decomposition on pure rotation matrix A, expecting R to be identity matrix. This really worked out for certain rotataions, but for other cases, R was non-diagonal and, as you guessed, Givens rotations were nowhere near Euler angles.

I wonder where is a flaw could be in my idea or implementation?

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Givens rotations versus Euler angles

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - Givens rotations versus | Date |
---|---|

I Linear transformation of a given coordinate | Apr 23, 2017 |

Finding the points of a cube given two points. | Mar 29, 2015 |

QR Decomposition w/ Householder and Givens Transformations | Mar 1, 2015 |

Solving for P_x(X) given P_y(Y) and P_(x+y)(X+Y) | Feb 19, 2015 |

Finding rotation matrix with given new and old frame | Aug 3, 2011 |

**Physics Forums - The Fusion of Science and Community**