[Math] Plotting in maple/MATLAB

graphing-functionsmapleMATLAB

How do you plot the following parametric equation (equation of an ellipse) in the same graph

$$ x = a\cos{t} $$
$$ y = b\sin{t} $$

with varying value of $a$ and $b$ in either maple or MATLAB ?

Many thanks.

Best Answer

Here is the command and the plot

plot([[ cos(t), 2*sin(t), t = 0 .. 2*Pi], [2*cos(t), 3*sin(t), t=0 .. 2*Pi],[4*cos(t), sin(t), t = 0 .. 2*Pi]], color = [blue, yellow] );

enter image description here

Related Question