I want to create a helix with radius 1.6e-5m and helix length 1.92e-3m.
r=1.6e-5;
gap=0.1e-3 % pitch distance
d=1.92e-3 % helix distance
z=linspace(0,d,1000);
t=(2*pi/gap)*z;
x=r*cos(t)
y=r*sin(t)
plot3(x,y,z)

回答 (1 件)

Alan Stevens
Alan Stevens 2020 年 11 月 8 日

0 投票

This is what your (unmodified) code produces for me:

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by