Makehgtform and the patch starting position
1 次查看(过去 30 天)
显示 更早的评论
I have provided the file. if you want to try it go ahead, you'll probably see the error in the plotting on the 2nd movement.
The first time it rotates, it does it perfectly. The 2nd time, it looks more like its moving the whole object sideways. I think i figured it out, its the fact that it uses its starting position and the angle is rotating according to that first one. So being at (0,0) the rotation is perfect, but once we're out at maybe (120,120), we're then in a circle that has the radius 120. I want it to rotate on the spot.
Appreciate any advice.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!