How to make quadrilateral with 4 points in matlab
4 views (last 30 days)
Show older comments
Given 1 reference point and 3 other points. How can I code for constructing a quadrilateral using these 4 points.
0 Comments
Answers (1)
Walter Roberson
on 25 May 2017
Or
plot([x1 x2 x3 x4 x1], [y1 y2 y3 y4 y1])
or
area([x1 x2 x3 x4], [y1 y2 y3 y4])
0 Comments
See Also
Categories
Find more on Elementary Polygons 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!