Thread Subject: Generation of object with random shape

Subject: Generation of object with random shape

From: Tato Jandieri

Date: 31 Aug, 2009 09:39:01

Message: 1 of 4

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.

Subject: Generation of object with random shape

From: arun

Date: 31 Aug, 2009 09:52:29

Message: 2 of 4

On Aug 31, 11:39 am, "Tato Jandieri" <vjandi...@yahoo.com> wrote:
> 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.  

help inpolygon

best, arun.

Subject: Generation of object with random shape

From: Tato Jandieri

Date: 31 Aug, 2009 09:58:01

Message: 3 of 4

Arun,

Thank you very much it helps.

Tato

Subject: Generation of object with random shape

From: Tato Jandieri

Date: 31 Aug, 2009 09:58:01

Message: 4 of 4

Arun,

Thank you very much it helps.

Tato

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com