%% Specify Parameter Range
% Plot the parametric line
% \matrix{x = e^{-t/10} \sin(5t) \cr y = e^{-t/10} \cos(5t) \cr z = t}
% over the parameter range [-10 10] by specifying the fourth input argument of fplot3.

xt = @(t) exp(-t/10).*sin(5*t);
yt = @(t) exp(-t/10).*cos(5*t);
zt = @(t) t;
fplot3(xt,yt,zt,[-10 10])

% Copyright 2012 The MathWorks, Inc.