Create the smallest polygon enclosing set of points

4 ビュー (過去 30 日間)
Daniel Turon
Daniel Turon 2022 年 6 月 10 日
コメント済み: Daniel Turon 2022 年 6 月 10 日
I have a list of x and y points from which Im wanting to create a polygon that encloses. The issue falls in that many of the points will be points lying in the middle of the polygon rather than the edges. And so the following code..
P = [convVertX(:),convVertY(:)];
k = polyshape(P);
plot(k)
gives

採用された回答

Walter Roberson
Walter Roberson 2022 年 6 月 10 日
See boundary()

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElementary Polygons についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by