www.gusucode.com > symbolic 源码程序 matlab案例代码 > symbolic/SpecifyRangeOfValuesForParameterExample.m

    %% Specify Parameter Range
% Plot the parametric line
% 
% $$\matrix{x = e^{\strut{-t/10}} \sin(5t) \cr y = e^{-t/10} \cos(5t) \cr z = t}$$
% 
% over the parameter range |[-10 10]| by specifying the fourth argument of
% |fplot3|.
syms t
xt = exp(-t/10).*sin(5*t);
yt = exp(-t/10).*cos(5*t);
zt = t;
fplot3(xt,yt,zt,[-10 10])