Plane Fitting and Normal Calculation

Given a set of x,y,z coordinates, find the best planar fit.

Sie verfolgen jetzt diese Einreichung

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)

Zitieren als

Dan Couture (2026). Plane Fitting and Normal Calculation (https://de.mathworks.com/matlabcentral/fileexchange/37775-plane-fitting-and-normal-calculation), MATLAB Central File Exchange. Abgerufen .

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.4.0.0

Graph scaling to the data provided

1.3.0.0

Use residuals to determine which of the fits is best and allow for data that is not perfectly planar.

1.0.0.0