inertia.m

find best fitting plane through x,y,z points and calculate quality metrics (coplanarity/colinearity)
296 download
Aggiornato 3 giu 2014

Visualizza la licenza

The best fit plane is assumed to pass through the point's centre of mass:
i.e. cent = [mean(points(:,1)) mean(points(:,2)) mean(points(:,3))]
INPUT: points - nx3 xyz vertex list
OUTPUT: Dir - directional cosine corresponding to the pole to the best fit plane
M - vertex coplanarity
K - vertex colinearity
USAGE: [Dir,M,K] = inertia(points);
REFERENCES: Fernández, O., 2005. Obtaining a best fitting plane through 3D georeferenced data. Journal of Structural Geology, 27, 855–858
COPYRIGHT: Thomas Seers 03/06/2014

Cita come

Thomas Seers (2024). inertia.m (https://www.mathworks.com/matlabcentral/fileexchange/46840-inertia-m), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2013a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0