フィルターのクリア

how to copy and rotate a 2D graph around a circle ?

3 ビュー (過去 30 日間)
Ender Rencuzogullari
Ender Rencuzogullari 2015 年 12 月 5 日
コメント済み: Star Strider 2015 年 12 月 7 日
Dear Friends,
The graph I have;
There is a tooth on a circle which is red. I want to copy and increase the number of piece of this tooth around the circle. Is there any way to do this operation and how may I do?
Thanks to contributers.

採用された回答

Star Strider
Star Strider 2015 年 12 月 5 日
MATLAB isn’t intended to be an engineering design graphics language, but there is a possible way to do what you want. I have very little experience with this, and no experience remotely similar to what you want to do, so unlike your previous Questions, I’ll be of very limited help.
One possible method is to Create Object Groups from your gear tooth, then use hggroup, makehgtform, and hgtransform to position (translate) it and rotate it. You will have to do this around the entire circumference of your gear, so you will have to choose where to place it and how much to rotate it.
You can translate it using essentially the same sin and cos calls I used to draw the circles in my previous code. You might consider tan to do the rotations, but that is simply a suggestion.
Once you get the code for this working, submit it to the File Exchange with appropriate documentation. I was not able to find anything remotely similar. If you have access to SimMechanics (a Simulink Toolbox), see if it has anything about specifying, designing, and drawing gears.
Good luck!
  8 件のコメント
Ender Rencuzogullari
Ender Rencuzogullari 2015 年 12 月 7 日
Okay sir, Thank you
Star Strider
Star Strider 2015 年 12 月 7 日
My pleasure.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by