Hello.
I have a simple helix that I've plotted by using the following code:
r=93.36;theta=0:pi/50:10*pi;%Trajectory in x-direction
x=-r.*cos(theta);%Trajectory in y-direction
y=r.*sin(theta);%Trajectory in z-direction
z=theta;figure(1);plot3(x,y,z);xlabel('x');ylabel('y');zlabel('z');grid on
My goal now is to also plot on the same graph the x and y components of the helix given from the equations above.
Thank you.
Best Answer