image thumbnail

planefit

version 1.0.0.0 (1.43 KB) by Val Schmidt
A function to fit a plane to a 3D point cloud.

3.5K Downloads

Updated 24 Apr 2012

View License

Given the equation of a plane as z = a*x + b*y + c, planefit, executed as C = planefit(x,y,z), solves for the coeficients C = [a b c]. Planefit does nothing fancy, it simply sets up and lets MATLAB solve the least-squares problem to solve for the coefficients - a handy utility function.

Cite As

Val Schmidt (2021). planefit (https://www.mathworks.com/matlabcentral/fileexchange/36353-planefit), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired: threepoints2planez

Community Treasure Hunt

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

Start Hunting!