Domain delimited by line

2 views (last 30 days)
Dvdppo
Dvdppo on 28 May 2012
Hi! I'm creating a mesh file for a model. I need to define a portion of my space (2D model) that is delimited at the top by a line between 2 defined points (x1,y1 and x2,y2). The bottom is (x2,y2 and x3,y2). Basically a triangle with a horizontal base. I don't need a plot, just that Matlab knows the area delimited by the two lines, to be used later in the process. How I can set up a script to do that?

Answers (2)

Walter Roberson
Walter Roberson on 28 May 2012

Dvdppo
Dvdppo on 30 May 2012
I'm sorry, but I started to use matlab just few weeks ago.. How the polyarea works? The matlab help is not friendly for me..

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!