Clear Filters
Clear Filters

need source code for voronoi

2 views (last 30 days)
Akhil
Akhil on 20 Nov 2023
Commented: Akhil on 28 Nov 2023
I need voronoi and the power voronoi source code to understand how these functions are developed. Kindly help me to find the source code

Answers (1)

John D'Errico
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.
  1 Comment
Akhil
Akhil on 28 Nov 2023
Thanks for the reply. I will try the suggestions

Sign in to comment.

Categories

Find more on Voronoi Diagram in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!