From: "Natalie Sin Hwee " <>
Newsgroups: comp.soft-sys.matlab
Subject: Finding 3D Angle
Date: Mon, 9 Aug 2010 10:20:09 +0000 (UTC)
Organization: Imperial College
Lines: 13
Message-ID: <i3okop$9n9$>
Reply-To: "Natalie Sin Hwee " <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1281349209 9961 (9 Aug 2010 10:20:09 GMT)
NNTP-Posting-Date: Mon, 9 Aug 2010 10:20:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2069448
Xref: comp.soft-sys.matlab:660259

Dear Mathworks,

I have two vectors in a 3D space. 
By using:
 theta(bb,cc) = atan2(norm(cross(v1,v2)) , dot(v1,v2) );
but it does not give me information on directionality of the angle Theta.

Looking at cart2sph/pol,

How can i find the theta/phi and r between two 3dimensional vectors?

Thank you