% or in other general forms :
t = linspace(0,2*pi,80); % the domain of the parameter t.
x = @(t)r1.*cos(t);
y = @(t)r2.*sin(t);
ELLIPSE = plot(x(t),y(t));
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!