フィルターのクリア

Calculate area of inside polygon using inpolygon

3 ビュー (過去 30 日間)
Anitha Limann
Anitha Limann 2022 年 10 月 20 日
コメント済み: Star Strider 2022 年 10 月 20 日
Hello,
I have latitude and longitude data to plot coastal line of north america and then continent margin. As you can imagine this is going to be two irregular polygons where the coastline polygon will be placed within the continent margin polygon.
I want to plot these two polygons and calculate the area of land region (the area within inside polygon) using inpolygon function. I would truly appreciate if someone could help me with this.
thank you

採用された回答

Star Strider
Star Strider 2022 年 10 月 20 日
There are Mapping Toolbox functions areaint and similar functions to do this. Those might be more appropriate. Follow the links in that and related documentation for other such functions.
  4 件のコメント
Anitha Limann
Anitha Limann 2022 年 10 月 20 日
Thank you I will try again.
Star Strider
Star Strider 2022 年 10 月 20 日
My pleasure!

サインインしてコメントする。

その他の回答 (1 件)

Matt J
Matt J 2022 年 10 月 20 日
編集済み: Matt J 2022 年 10 月 20 日
The polyarea command is for calculating polygon areas.
You can also use polyshape.area.
  1 件のコメント
Anitha Limann
Anitha Limann 2022 年 10 月 20 日
Thank you for your reply.
There are some places where boundaries overlap. from what I understood this function colors those areas and calculate the total area of all those overlaps.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMap Display についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by