Plane fit
Given a set of points (3D) this function computes the plane that fits best those points by minimizing the sum of the quadratic distances (perpendicular to the plane) between the plane and the points.
The fit is performed by computing the eigen-values/vectors associated to the distribution of points.
The code actually works in any dimension (>=2)
Nothing new, just classical linear algebra.
Citar como
Adrien Leygue (2024). Plane fit (https://www.mathworks.com/matlabcentral/fileexchange/43305-plane-fit), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Agradecimientos
Inspirado por: Plane Fitting and Normal Calculation
Inspiración para: threepoints2planez
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.