I have two coordinate frames, A and B. I want to create the rotation matrix RAB which takes you from A to B. A is a right-handed system, and B is a left-handed system. Furthermore, after moving from a right- to a left-handed system, there is a further rotation. These two coordinate frames are illustrated in the image below.
As can be seen, it appears that the axes in B are simply the negative of the axes in A. So, my first attempt was to simply make these negative in the rotation matrix:
RAB = [-1 0 0, 0 -1 0, 0 0 -1]
(sorry -- I don't know how to write matrices properly here...)
However, after working through some examples, this did not work out.
Please could somebody answer either (or both!) these questions?
(a) Why does my above solution not hold? (b) what is the correct rotation matrix RAB?