Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Polygon from Unordered set of points
Date: Mon, 1 Jun 2009 02:57:01 +0000 (UTC)
Organization: University of Utah
Lines: 4
Message-ID: <gvvg1t$p64$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1243825021 25796 172.30.248.37 (1 Jun 2009 02:57:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 1 Jun 2009 02:57:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1801653
Xref: news.mathworks.com comp.soft-sys.matlab:543853


Hi All,
I have an unordered set of points (x,y). I want to form a polygon from these vertices which should arrange the points in either clockwise or anticlockwise sense. Is it possible to do in MATLAB?

Thanks.