how to plot this function?
1 view (last 30 days)
Show older comments
Pontus Oliverboii
on 10 Sep 2019
Commented: Pontus Oliverboii
on 10 Sep 2019
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
0 Comments
Accepted Answer
madhan ravi
on 10 Sep 2019
x=@(t)cos(t)+cos(2*t)
y=@(t)sin(2*t)
% you can use fplot()
help fplot
doc fplot
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots 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!