Growbubbles - maximum radius packing

Version 1.0.0.0 (2,21 KB) von Sven
Growbubbles takes centroid points and returns the maximum radius circles or spheres without overlap
1,6K Downloads
Aktualisiert 10. Okt 2011

Lizenz anzeigen

%GROWBUBBLES packs maximum radius circles at given central locations
%
% PTRADS = GROWBUBBLES(PTS) returns the radius of circles at coordinates in PTS with all radii
% maximised but without any circles overlapping. PTS is a P-by-N matrix of P "N-dimensional"
% points.
%
% If no output argument is given, PTSIN will be plotted as circles (2D) or spheres (3D) to the
% current figure.
%
% Example:
%
% % Find the maximum packed radius of 20 random points
% x = rand(20, 2);
% ptRads = growbubbles(x);

Zitieren als

Sven (2024). Growbubbles - maximum radius packing (https://www.mathworks.com/matlabcentral/fileexchange/33213-growbubbles-maximum-radius-packing), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2011b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0