lloydsAlgorithm(Px,​Py, crs, numIterations, showPlot)

Starts with a point set, repeatedly moves each point to centroid of Voronoi cell.

다운로드
다운로드

이 제출물을 팔로우합니다

인용 양식

Aaron T. Becker's Robot Swarm Lab (2026). lloydsAlgorithm(Px,Py, crs, numIterations, showPlot) (https://kr.mathworks.com/matlabcentral/fileexchange/41507-lloydsalgorithm-px-py-crs-numiterations-showplot), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 받은 파일: VoronoiLimit(varargin)

카테고리

Help Center 및 MATLAB Answers에서 Voronoi Diagrams에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.6.0

corrected error about some vertices not being in clockwise error by sorting the vertices

다운로드
1.5.0

Corrected error when called as a function by adding a calculation for n, removed warning about order of vertices by sorting them in CW order, added example call as a function. Thanks for the feedback Kirill Smirnov!

다운로드
1.3.0

When run with no arguments, starts the robots in a small grid pattern.

다운로드
1.1.0

removed dependency on www.mathworks.com/matlabcentral/fileexchange/34428 (which sometimes miscalculates the Voronoi cell boundaries), robots never leave the boundary, reduces to a single file.

다운로드
1.0.0

다운로드