Plane fit

Fits a plane to a set of data points by minimizing the normal quadratic distance
9,9K Downloads
Aktualisiert 4. Dez 2014

Lizenz anzeigen

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.

Zitieren als

Adrien Leygue (2024). Plane fit (https://www.mathworks.com/matlabcentral/fileexchange/43305-plane-fit), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2014a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Quadratic Programming and Cone Programming finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: Plane Fitting and Normal Calculation

Inspiriert: threepoints2planez

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

added an example & screenshot

1.0.0.0