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

1 次查看(过去 30 天)
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),'*')

采纳的回答

John D'Errico
John D'Errico 2018-12-6
help delaunay

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Delaunay Triangulation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by