Plane Fitting and Normal Calculation

버전 1.4.0.0 (36 KB) 작성자: Dan Couture
Given a set of x,y,z coordinates, find the best planar fit.
다운로드 수: 3.9K
업데이트 날짜: 2013/8/26

라이선스 보기

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)

인용 양식

Dan Couture (2024). Plane Fitting and Normal Calculation (https://www.mathworks.com/matlabcentral/fileexchange/37775-plane-fitting-and-normal-calculation), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
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