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

 采纳的回答

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

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by