By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,406 Members | 905 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,406 IT Pros & Developers. It's quick & easy.

Mean Rotation Matrix

P: 1
I got a problem about the mean rotation calculation.
I have a group of rotation matrics in my program and I want to calculate the mean rotation on the basis of these rotation matrics.
I think it is a general mathmatical problem. So I wanna know where I can find the code or math lib written in C++.
Jun 11 '07 #1
Share this Question
Share on Google+
2 Replies


weaknessforcats
Expert Mod 5K+
P: 9,197
Have you tried Google or Wikipedia?
Jun 11 '07 #2

Expert 10K+
P: 11,448
I got a problem about the mean rotation calculation.
I have a group of rotation matrics in my program and I want to calculate the mean rotation on the basis of these rotation matrics.
I think it is a general mathmatical problem. So I wanna know where I can find the code or math lib written in C++.
If R1, R2 ... Rn are n rotation matrices then Ri*Rj == Rj*Ri (they're commutative)
and all you have to do is multiply those n matrices in any order to get the
resulting angle of rotation.

All this assumes that all n matrices rotate in just one sub-space (e.g. as in R2)

kind regards,

Jos
Jun 11 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.