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

 Accepted Answer

x=@(t)cos(t)+cos(2*t)
y=@(t)sin(2*t)
% you can use fplot()
help fplot
doc fplot

More Answers (0)

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!