need source code for voronoi
2 views (last 30 days)
Show older comments
I need voronoi and the power voronoi source code to understand how these functions are developed. Kindly help me to find the source code
0 Comments
Answers (1)
John D'Errico
on 20 Nov 2023
Edited: John D'Errico
on 20 Nov 2023
Sorry. MathWorks does not give out source code for compiled functions. So unless you are employed there, you don't get the source code in all cases.
HOWEVER, since all you need to do is to do this:
type voronoi
at the command line, you can see the source code. In this case, the code was written in MATLAB itself, and not compiled.
Note that voronoi also calls delaunay internally, and that code is compiled. So you don't get that code. You can check that, since type just tells you that delaunay is a compiled code. The same applies to any other supplied code from TMW. If it is written in MATLAB, then you already have the source code. If it is compiled, then you will not get it.
See Also
Categories
Find more on Voronoi Diagram 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!