andreww / MSAT

MATLAB Seismic Anisotropy Toolkit
http://www1.gly.bris.ac.uk/MSAT/
Other
42 stars 29 forks source link

MS_rotEuler arguments shape #7

Open andreww opened 11 years ago

andreww commented 11 years ago

MS_rotEuler (and presumably the other rotation functions) allows row vectors for the three sets of angles but not column vectors. When using my scripts aimed at the VPSC code this means I need to do:

MS_rotEuler(C, eulers(1,:)', eulers(2,:)', eulers(3,:)')

Should handle this case cleanly in the code.

andreww commented 10 years ago

When this is fixed, we should also deal with the use case in MS_rotRandom and test_MS_rotRandom