remove discs from lat/lon coverage

3 ビュー (過去 30 日間)
Paul Huter
Paul Huter 2017 年 5 月 15 日
コメント済み: Paul Huter 2017 年 5 月 26 日
This is my code:
[xIntrinsic, yIntrinsic] = geographicToIntrinsic(r, discLat, discLon);
[xc, yc] = polysplit(xIntrinsic, yIntrinsic);
for ii = 1:(numel(xc)-1)
xii = [xc{ii}; xc{ii+1}];
yii = [yc{ii}; yc{ii+1}];
k = convhull(xii,yii);
xc{ii} = xii(k);
yc{ii} = yii(k);
end
[xq, yq] = polyjoin(xc(1:end-1), yc(1:end-1));
[latQ, lonQ] = intrinsicToGeographic(r, xq, yq);
When I plot, I see the discLat/discLon points (as circles) along with the bounding lines:
Is there an easy way to remove the discs so that all I see is the bounding outside lines? I'm using the areaint function on the latQ/lonQ points to get an area, and it is coming back way high, I believe because it includes those discs.
Thanks.

回答 (1 件)

Yuebin Zhou
Yuebin Zhou 2017 年 5 月 26 日
It seems the code is not complete according to the description. Can you put the entire of it online?
  1 件のコメント
Paul Huter
Paul Huter 2017 年 5 月 26 日
Here is the script I am working from provided by Mathworks.

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

カテゴリ

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