MATLAB HELP Use the command plot3x y z to plot the circular

MATLAB HELP

Use the command plot3(x, y, z) to plot the circular helix x(t) = sin t, y(t) = cost, z(t) = t, 0 t 20.

NOTE: Use semicolon to suppress the output when you define the vectors t, x, y and z. Make sure you use enough points for your graph so that the resulting curve is nice and smooth.

Solution

Space curves:                                                        

t=linspace(0,20,100);

plot3(sin(t),cos(t),t)

MATLAB HELP Use the command plot3(x, y, z) to plot the circular helix x(t) = sin t, y(t) = cost, z(t) = t, 0 t 20. NOTE: Use semicolon to suppress the output wh

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site