Code covered by the BSD License  

Highlights from
transformCartCoord

Be the first to rate this file! 15 Downloads (last 30 days) File Size: 14.3 KB File ID: #40944
image thumbnail

transformCartCoord

by

 

26 Mar 2013 (Updated )

Rotate, offset, transform Cartesian coordinates.

| Watch this File

File Information
Description

Revolve Cartesian coordinates around an axis by a given angle, transform them arbitrarily using a transformation matrix or quickly apply an offset to a long array of coordinates using bsxfun.

Acknowledgements

This file inspired Adjust Plane To Given Normal.

MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
27 Mar 2013 Bastian Tietjen

Do you mean the minExample.m? There is a typo in there, change

transformCarthCoord

to

transformCartCoord

I updated it but t takes some time to appear here.

27 Mar 2013 Bastian Tietjen

Something else: If you want to rotate around an axis: 1, 2, 3 correspond to x, y, z. It's as well in the updated version.

27 Mar 2013 David

For some reason the code is not working. Error "??? Undefined function or method 'transformCarthCoord' for input arguments of type 'double'."

Updates
27 Mar 2013

Fixed a typo in the example, changed the help a bit

Contact us