Plotting Weighted Voronoi diagram in MATLAB

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

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

Asked:

on 25 Jan 2024

Commented:

on 27 Jan 2024

Community Treasure Hunt

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

Start Hunting!