Original Post
This has been bugging me for days now. All I need is a matrix which rotates a unit vector V = [Vx Vy Vz] to align with the Z-axis.
Please help! I swear I''ve been trying to get this for days, whenever I try to derive it myself I keep getting a matrix which works for some V''s, but not others. I just need the matrix so I can see what I''ve been doing wrong.
Thanks,
Dave.