"Matt J" wrote in message <firstname.lastname@example.org>... > "Myles" wrote in message <email@example.com>... > > > > Sorry, I guess I wasn't specific enough - I have three separate groups of points (all of which still lie in the same plane originally), after the transformation two are lying in the same plane and one is lying a long distance away. However, none of them are parallel to the xy axis. I've uploaded a few pictures so you can see better what I'm trying to say. > > > > http://s177.photobucket.com/albums/w227/MilesMaybe/MATLAB%20images/ > ============ > > The figures are unlabeled, and so a bit hard to interpret. > In any case, can you do this for me? Tell me what the value of Ztilt is. Also, apply the transformation to Ztilt (as if it were one of your 3D points) and tell me the result.
Yeah, I realized that almost immediately after I posted - I should have shown you views from xy, xz, yz, etc. I just mostly wanted you to see how the plane was originally oriented in all directions and the points general range of: X : (0 to 30) Y : (10 to 50) Z : (16 to 28)
Ztilt = [0.1682 0.3477 -0.9224] <--- this is normalized of [16.7243, 34.5791,-91.7416] u = cross(Ztilt, [0 0 1]) u = [0.3477 - 0.1682 0] NewPoint = AxelRot(Ztilt', deg, u, [0 0 0]) NewPoint = [0.3102; 0.6414; -0.7017]
Sorry if I'm slow or missing something basic - still relatively new to MATLAB, and Linear Algebra was never my strong point. But I do really appreciate the help.