Plane Fitting and Normal Calculation
Versione 1.4.0.0 (36 KB) da
Dan Couture
Given a set of x,y,z coordinates, find the best planar fit.
Given a set of x,y,z coordinates, find the best planar fit to the points via a least squares regression. Testing script "t_fitNormal" is also included to verify functionality and demonstrate usage.
Sample Call
> data = rand(50,3)*100;
> data(:,3) = data(:,1) * .4 + data(:,2) * .6 + rand(50,1);
> n = fitNormal(data,1)
Cita come
Dan Couture (2026). Plane Fitting and Normal Calculation (https://it.mathworks.com/matlabcentral/fileexchange/37775-plane-fitting-and-normal-calculation), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Linear and Nonlinear Regression in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato: Adjust Plane to Given Normal, Plane fit, threepoints2planez
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
