File Exchange

image thumbnail

transformCartCoord

version 1.1 (14.3 KB) by

Rotate, offset, transform Cartesian coordinates.

0 Downloads

Updated

View License

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.

Comments and Ratings (3)

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.

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.

David

David (view profile)

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

Updates

1.1

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

MATLAB Release
MATLAB 7.11 (R2010b)
Acknowledgements

Inspired: Adjust Plane to Given Normal

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video