It's a modification of the initial function voronoi.m
In order to avoid the loops 'for' in the code, a lot of memory is needed. Working to solve it.
Use functions like PointLocation, DelaunayTri, so the code works in last versions of MatLab. In addition, in domains with holes and degenerate meshes (regular distribution of nodes) certain problems can appear. Working on it.
David González (2022). Clipped Voronoi Diagram (https://www.mathworks.com/matlabcentral/fileexchange/28239-clipped-voronoi-diagram), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!