I’m trying to rotate a vector with negative coordinates by a rotation matrix with a small angle (0.030169414758875544 radians). Any idea why the X’ value is so small after rotation (-5860.53)? Is it because of the influence of the much larger Y value (-159310)? If so, how can this be fixed?
The solution is correct. Size relative to circle is small. For illustrative purposes see the following.The points are plotted at bottom of circle. There is a fixed line as a reference and then gauge ‘moves’ (rotates line): note second point is around 0.03-0.04 radians.
Thanks Mark. I guess what confused me was the point was at one end of a line and the other end is at -9940, -400. Is there any way to rotate a complete 2D matrix (of arbitrary size) without having to do it on a point by point basis? I also need to skew it too, at some stage. For example:
{{ -2000, -70}, {-2340, -140}, {-2640, -30940}, {-3860, -30960}, {-4160, -62830}, {-5460, -62850}, {-5790, -94980}, {-7160, -95030}, {-7470, -127330}, {-8850, -127400}, {-9190, -159540}, {-10680, -159610} {-9940, -400},{-12940, -400}}
Thanks, Dave.