function [ ] = lissajous( a, b )
%LISSAJOUS Draws the Lissajous curve x(t)=cos(at), y(t)=cos(bt)
% t ranges from 0 to 2pi, although that is arbitrary -- I expect that some
% Lissajous figures would need a larger range in order to show their full
% shape.

t = linspace( 0, 2*pi, 200 );
x = cos( a * t );
y = cos( b * t );
plot( x, y );

end

