How to link all points on plot?
Show older comments
I have a small issue, how to link various nonlinear points within loop functions-for example y=0;
for k=1:10
y=k*2+k^3;
plot(y,k,'o-');
hold on;
end
hold off;
The Plot result is as follows. I want to connect all those points. I have little knowledge of interpolations (interp1).

is
Accepted Answer
More Answers (0)
Categories
Find more on Data Exploration 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!