フィルターのクリア

How can I implement this trajectory?

3 ビュー (過去 30 日間)
Zeinab Ahmadi93
Zeinab Ahmadi93 2017 年 7 月 4 日
編集済み: Zeinab Ahmadi93 2017 年 7 月 5 日
Hello everybody I want to move a red star marker along the spiral trajectory(SPIRAL. file) with an equal distance of 5 units between the red star points like the attached file(Circle trajectory).Can you help me write its code? Thanks in advance.

採用された回答

John D'Errico
John D'Errico 2017 年 7 月 4 日
Sorry. I won't write your code for you. However, you may find my interparc utility to be of value. It can interpolate a path so the new points are spaced equidistantly. You can specify linear interpolation between the points (the default), or tell it to use a spline. However, it does not have the capability to specify a spacing in terms of Euclidean distance between the points. So I would compute the entire length of the curve (using my arclength utility). Then if I wanted a specific distance between consecutive points, this would now be simple to do.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by