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

    %% Plot 3-D Parametric Line
% Plot the 3-D parametric line
% 
% $$\matrix{x = \sin(t) \cr y = \cos(t) \cr z = t}$$
% 
% over the default parameter range |[-5 5]|.
syms t
xt = sin(t);
yt = cos(t);
zt = t;
fplot3(xt,yt,zt)