I'm getting myself all confused over this. Supposedly, the toolbox uses a right-handed coordinate system ( ref ). But this is producing a left-handed rotation matrix:
>> which angle2dcm...../Matlab/toolbox/aero/aero/angle2dcm.m>> angle2dcm(pi/2,0,0,'zyx')ans = 0.000000000000000 1.000000000000000 0 -1.000000000000000 0.000000000000000 0 0 0 1.000000000000000
This behavior seems relatively consistent throughout the toolbox. Is the documentation just wrong?
Best Answer