You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Adrien Leygue (2026). Plane fit (https://in.mathworks.com/matlabcentral/fileexchange/43305-plane-fit), MATLAB Central File Exchange. Retrieved .
Categories
Find more on Quadratic Programming and Cone Programming in Help Center and MATLAB Answers
General Information
- Version 1.1.0.0 (1.63 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
