need source code for voronoi

2 vues (au cours des 30 derniers jours)
Akhil
Akhil le 20 Nov 2023
Commenté : Akhil le 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

Réponses (1)

John D'Errico
John D'Errico le 20 Nov 2023
Modifié(e) : John D'Errico le 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 commentaire
Akhil
Akhil le 28 Nov 2023
Thanks for the reply. I will try the suggestions

Connectez-vous pour commenter.

Catégories

En savoir plus sur Voronoi Diagram dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by