Makehgtform and the patch starting position
2 ビュー (過去 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!