how to connect neighbor points in a scattered 2D plot?

1 view (last 30 days)
Hi,
I have scattered points on a 2D plot and I want to connect neighbor points to each other.
How can I do it?
thanks for your help
example:
x=rand(100,2);
plot(x(:,1),x(:,2),'*')

Accepted Answer

John D'Errico
John D'Errico on 6 Dec 2018
help delaunay

More Answers (0)

Categories

Find more on Delaunay Triangulation 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!