Info
This question is closed. Reopen it to edit or answer.
Not getting any plots on my graph
2 views (last 30 days)
Show older comments
My graph using parametric equations isn't showing any plots, just an empty graph and I'm unsure why.
t=linspace(0, 20);
x=4 + sqrt(t);
y=5+cos(2*t)/(t+1);
plot(x,y)
xlabel 'x displacement'
ylabel 'y displacement'
1 Comment
per isakson
on 15 Dec 2017
Edited: per isakson
on 15 Dec 2017
Replace
y=5+cos(2*t)/(t+1);
by
y=5+cos(2*t)./(t+1);
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!