Helix model with radius

14 views (last 30 days)
Sai Sri Laasya Chittapragada Venkata
Answered: Alan Stevens on 8 Nov 2020
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)

Answers (1)

Alan Stevens
Alan Stevens on 8 Nov 2020
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!