Path: news.mathworks.com!not-for-mail
From: "Kale Hommy" <k.hommy@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Angle between two points
Date: Wed, 24 Sep 2008 16:09:01 +0000 (UTC)
Organization: University of Calgary
Lines: 3
Message-ID: <gbdomt$d2u$1@fred.mathworks.com>
Reply-To: "Kale Hommy" <k.hommy@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1222272541 13406 172.30.248.37 (24 Sep 2008 16:09:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 24 Sep 2008 16:09:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1522361
Xref: news.mathworks.com comp.soft-sys.matlab:491808

I was wondering how to calculate the angle between two points using matlab, unfortunately this is my first time using matlab and when I input my points I did it individually, ex. x1=2 y1=7, x2=4 y2=9 and x3=4 y3=8. Is there any easy way to calculate the angle formed by those three points?

Thanks, Kale Hommy.