how to plot this function?

function (x(t),y(t))=(cos(t)+cos(2*t),sin(2*t)).
(x(t),y(t)) is the part i dont understand how to write it in matlab

 Risposta accettata

madhan ravi
madhan ravi il 10 Set 2019
x=@(t)cos(t)+cos(2*t)
y=@(t)sin(2*t)
% you can use fplot()
help fplot
doc fplot

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by