How to make quadrilateral with 4 points in matlab
4 次查看(过去 30 天)
显示 更早的评论
Given 1 reference point and 3 other points. How can I code for constructing a quadrilateral using these 4 points.
0 个评论
回答(1 个)
Walter Roberson
2017-5-25
Or
plot([x1 x2 x3 x4 x1], [y1 y2 y3 y4 y1])
or
area([x1 x2 x3 x4], [y1 y2 y3 y4])
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Elementary Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!