%% Plot 3-D Parametric Line Using Symbolic Functions
% Plot the 3-D parametric line
% \matrix{x(t) = \sin(t) \cr y(t) = \cos(t) \cr z(t) = \cos(2t).}

syms x(t) y(t) z(t)
x(t) = sin(t);
y(t) = cos(t);
z(t) = cos(2*t);
fplot3(x,y,z)

% Copyright 2012 The MathWorks, Inc.