Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Generation of object with random shape
Date: Mon, 31 Aug 2009 09:39:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 11
Message-ID: <h7g5nl$gd7$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1251711541 16807 172.30.248.35 (31 Aug 2009 09:39:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 31 Aug 2009 09:39:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1541543
Xref: news.mathworks.com comp.soft-sys.matlab:567204


Dear Friends,

Using the random operator, I am generating objects with different shapes.
When I run the program, objects with different shapes are generated. 

My question is:
How can a define, the arbitrary chosen point (X,Y) is inside the object, or not?
Maybe some approximation is needed?

Please, help me in this matter.
Thank you very much.