Connect multiple y-coordinate points with smooth curve
6 views (last 30 days)
Show older comments
Hi,
I have an array that store the x and y coordinates of my points, and I want to connect all points with a smooth curve. But my points is not unique, I mean that there are some points that have the same x coordinates. Here is the example of curve that I want (it's not smooth enough though)

So far, I've tried to plot only the points, like the following figure

I want to connect the points with a smooth curve. How to do this in Matlab? Thank you
0 Comments
Answers (1)
Rik
on 1 Dec 2017
If spline doesn't work directly, you can convert your data set to a parametric function by performing it separately on the x and y coordinates.
0 Comments
See Also
Categories
Find more on Smoothing 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!