Transform Points

transform 3d points from one reference frame to another
563 Downloads
Updated 31 Aug 2010

View License

This function will take two transformation matrices and transform from tr1 to tr2 converting all the points from frame 1-->2

Use: pointsOut = fcn_transformPoints(trOrigin[4x4],trDestination[4x4], pointsToBeMoved[mx3])
tr1 and tr2 are in the form of [1 0 0 0; [Posx Posy Posz], unitx' unity' unitz']

Note: This will only work on a 3 dimensional data set

Cite As

James West (2024). Transform Points (https://www.mathworks.com/matlabcentral/fileexchange/28607-transform-points), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Cartesian Coordinate System Conversion in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0