I have a query with regards to creating a helix about an axis. In general we create a helix about a vertical axis using the below code
t = 0:pi/50:20*pi;
st = sin(t);
ct = cos(t);
plot3(st,ct,t)
Is it possible to create a helix around a curve as shown in below image? If yes, can you please let me know how can i implement this in the code?
Helix about a curve - The Image is found below
Thanks in advance