Plotting Weighted Voronoi diagram in MATLAB

12 views (last 30 days)
Akhil
Akhil on 25 Jan 2024
Commented: Akhil on 27 Jan 2024
I want to make weighted voronoi diagram in matlab. Please suggest a way. I have X,Y coordinates of seed points and the associated weights. Also suggest how I can plot using "Power Diagram" in matlab

Answers (1)

Dyuman Joshi
Dyuman Joshi on 25 Jan 2024
Moved: Matt J on 25 Jan 2024
  1 Comment
Akhil
Akhil on 27 Jan 2024
when I am using the power diagram, it is showing error:
nable to perform assignment because the size of the left side is 1-by-2 and the size of the right side is 2-by-2.
Error in powercentersPD (line 34)
PC(i,:) = pc;
Error in powerDiagramWrapper (line 32)
[PC, powers] = powercentersPD(T, E, wts);
can you suggest how to correct this

Sign in to comment.

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!