Moving a Polygon on a Polygon
显示 更早的评论
Hello,
I created following Polygons on top of each other:
pgon = polyshape([440 0 0 440], [0 0 5.1 5.1]);
pgon2 = polyshape([18 0 0 18], [0 0 0.5 0.5]);
plot([pgon pgon2]);
Now I want that the smaller polygon moves from on side to the other and over and over again and moves up a little each time.
Is this possible. And if yes how?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Polygonal Shapes 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!