Problems about "rotate" function
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
0 votes
Share a link to this question

Accepted Answer
0 votes
Share a link to this answer
12 Comments
Share a link to this comment
https://au.mathworks.com/matlabcentral/answers/648023-problems-about-rotate-function#comment_1134493
Share a link to this comment
https://au.mathworks.com/matlabcentral/answers/648023-problems-about-rotate-function#comment_1134608
- I create a matrix in which every column and the next one represent the X and Y coordinates of the points of the perimeter of a tool composed by 23 teeth at diferent instant of time. So, column 1 and 2 are X & Y at instant n°1, column 3 and 4 are X & Y at instant n°2, and so on. Now i need to make polyshapes of these teeth, because the tool has to be subtracted from the raw material as the time passes.
- By a for loop i create a polyshape of every tooth of the tool. The result is a matrix composed by 23 x (n° instant of time) polyshapes. Now i have the tool composed by 23 teeth at various working times.
- By another for loop and "unite" function (usually very time expensive due to high number of instants) i unite teeth to have 1x(n°instant of working time) vector called C2, containing polyshapes that represent the tool positions. Now i am ready to subtract from raw material.
Share a link to this comment
https://au.mathworks.com/matlabcentral/answers/648023-problems-about-rotate-function#comment_1134643
Share a link to this comment
https://au.mathworks.com/matlabcentral/answers/648023-problems-about-rotate-function#comment_1135038

Share a link to this comment
https://au.mathworks.com/matlabcentral/answers/648023-problems-about-rotate-function#comment_1135203
Share a link to this comment
https://au.mathworks.com/matlabcentral/answers/648023-problems-about-rotate-function#comment_1135343
Share a link to this comment
https://au.mathworks.com/matlabcentral/answers/648023-problems-about-rotate-function#comment_1135458
Share a link to this comment
https://au.mathworks.com/matlabcentral/answers/648023-problems-about-rotate-function#comment_1136403
Share a link to this comment
https://au.mathworks.com/matlabcentral/answers/648023-problems-about-rotate-function#comment_1136798
Share a link to this comment
https://au.mathworks.com/matlabcentral/answers/648023-problems-about-rotate-function#comment_1137033
More Answers (0)
Categories
Find more on Elementary Polygons in Help Center and File Exchange
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)