文档帮助中心
本页对应的英文页面已更新,但尚未翻译。 若要查看最新内容,请点击此处访问英文页面。
假定有一组点,voronoi 和 voronoin 函数会计算构成 Voronoi 图的区域。对于每个输入点,周围区域包含平面上与其他输入点相比最接近的所有点。patch 函数允许您对区域着色。
voronoi
voronoin
patch
Voronoi 图
本主题说明什么是 Voronoi 图以及如何创建 Voronoi 图。
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office