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)

Respuestas (1)

Alan Stevens
Alan Stevens el 8 de Nov. de 2020

0 votos

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

Etiquetas

Respondida:

el 8 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by