頂点に誤差のある面積の求め方
2 views (last 30 days)
Show older comments
buffermを使って頂点に誤差のある多角形の面積を求めるにはどうすればよいでしょうか?
Accepted Answer
mizuki
on 6 Feb 2017
Edited: mizuki
on 6 Feb 2017
扱われているデータは緯度経度情報を含む地図/位置情報データでお間違いないですか? bufferm は通常のxy座標の polygon とは異なり、地図データに特化した関数なので念のための確認です。
lon = [160 167 184 190 185 171 153 115 85 54 66 87 122 133 160];
lat = [51 67 102 122 133 136 138 122 103 64 45 34 43 46 51];
area = areaint(lat, lon)
mapshow(lon, lat)

もし Tohru Kikawada さんが紹介されているページのように面積を最大化したい場合には、ページの回答にありますように最適化を使って面積最大化を行ってください。
0 Comments
More Answers (0)
See Also
Categories
Find more on Licensing on Cloud Platforms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!