Polyshape rotation without distort
显示 更早的评论
I did this, but the contour always distort.
May someone can help me.
format long
lat=GNSS_Lat_Abs
long=GNSS_Long_Abs
lat(1)=[]
long(1)=[]
PP=[lat,long]
Shape=polyshape(PP)
[a,b]=centroid(Shape)
S=[a,b]
Rot=rotate(Shape,70,S)
[x,y]=boundary(Rot)
geoplot(lat,long,'-x',x,y,'-x')
geobasemap satellite

采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Polygonal Shapes 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!