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!