X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.65.235
Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!proxad.net!feeder1-2.proxad.net!nntpfeed.proxad.net!news.side3.eu!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!feed4.jnfs.ja.net!jnfs.ja.net!gemini.csx.cam.ac.uk!news.cam.ac.uk!tpl
From: tpl@eng.cam.ac.uk (Tim Love)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Find angles between two vectors
Date: 23 Jan 2008 13:34:44 GMT
Organization: University of Cambridge, England
Lines: 7
Message-ID: <fn7fpk$8f7$1@gemini.csx.cam.ac.uk>
References: <fn7egt$447$1@fred.mathworks.com>
NNTP-Posting-Host: last.eng.cam.ac.uk
Xref: news.mathworks.com comp.soft-sys.matlab:447186


"Justin Morehouse" <norman_batez@MSN.com> writes:

>Hi there, I have a two vectors (3,5) and (5,6) and I was 
>wondering how do I get the angle between them in matlab.

There's a cart2pol function. Or you could use 
angle(complex(5,6)-complex(3,5))