Rank: 1612 based on 94 downloads (last 30 days) and 5 files submitted
photo

Thomas

E-mail
Company/University
University of Manchester
Lat/Long
53.4763, -2.2411

Personal Profile:

I am a postgraduate research student based in Manchester in the United Kingdom.

Professional Interests:
geology, geophysics, lidar, photogrammetry

 

Watch this Author's files

 

Files Posted by Thomas View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Sep 2014 meshArea.m Calculate the area of a triangular irregular network Author: Thomas point cloud, tin, mesh, area, geometry 35 0
03 Jun 2014 inertia.m find best fitting plane through x,y,z points and calculate quality metrics (coplanarity/colinearity) Author: Thomas point cloud, vertices, best fit plane, coplanarity, colinearity, tensor analysis 8 0
15 Oct 2013 compose / decompose 3x3 rotation matrix (comp_decomp_matrix) Compose 3x3 rotation matrix from euler angles or decompose 3x3 rotation matrix to euler angles Author: Thomas geometry, rotation matrix, euler angles, transformations 30 0
06 Aug 2013 euclideanV Computes the 3D distance between two 3D point sets Author: Thomas 3d point cloud, geometry, measurement 9 2
05 Aug 2013 euclidean Computes the 3D distance between two xyz point sets represented by two matching nx3 arrays p and c. Author: Thomas geometry, 3d, point cloud, measurement 12 0
Comments and Ratings by Thomas View all
Updated File Comments Rating
11 Jun 2014 interparc Distance based interpolation along a general curve in space Author: John D'Errico

Very good code BTW.

06 Aug 2013 euclideanV Computes the 3D distance between two 3D point sets Author: Thomas

Thanks for your constructive comments Jan. I have updated the file as you have suggested.
Thomas

Comments and Ratings on Thomas' Files View all
Updated File Comment by Comments Rating
06 Aug 2013 euclideanV Computes the 3D distance between two 3D point sets Author: Thomas Thomas

Thanks for your constructive comments Jan. I have updated the file as you have suggested.
Thomas

06 Aug 2013 euclideanV Computes the 3D distance between two 3D point sets Author: Thomas Simon, Jan

Clearing the variables at the end of a function does not have any benefit.

What is "usage()"?

The error checking could be simplified massively by:

function euclidV3D = euclideanV(x1, y1, z1, x2, y2, z2)
try
euclidV3D = sqrt((x2-x1).^2+(y2-y1).^2+(z2-z1).^2);
catch
error('Not matching input sizes or types.');
end

Contact us