Re: Solve & RotationMatrix

*To*: mathgroup at smc.vnet.net*Subject*: [mg76126] Re: Solve & RotationMatrix*From*: Mathieu G <ellocomateo at free.fr>*Date*: Wed, 16 May 2007 05:44:47 -0400 (EDT)*References*: <f21g0q$7d6$1@smc.vnet.net><f23qq6$oa3$1@smc.vnet.net> <f2bsks$gk5$1@smc.vnet.net>

CKWong a =E9crit : > I could be wrong but as I see it, the only thing that kept your > algorithm from working is that there is no Mathematica function called > RotationMatrix. If you replace the line > RotX = RotationMatrix[\[Alpha], VectX]; > with > RotX={ {Cos[\[Alpha]],-Sin[\[Alpha]],0}, {Sin[\[Alpha]],Cos[\[Alpha]]= , > 0}, {0,0,1} }; > and similarly for RotY and RotZ, everything should be fine. > Thank you for your reply. There is such a function in Mathematica v6. The problem is now solved as posted in a previous post. Regards, MG