axis

(method of orientation)

rotational axis of an misorientation or two orientations

Syntax

% define a cubic and hexagonal symmetries
csCube = crystalSymmetry('cubic')
csHex = crystalSymmetry('hexagonal')
% define two orientations
o1 = orientation('euler',csCube)
o2 = orientation('euler',csHex)
% the misorientation axis with respect to the specimen coordinate
% system is computed by
a = axis(o1,o2)
% the misorientation axis with respect to csCube is computed by
a = axis(inv(o1)*o2,csCube)
% the misorientation axis with respect to csHex is computed by
a = axis(inv(o1)*o2,csHex)
% compute the misorientation axis ignoring symmetry
a = axis(inv(o1)*o2,'noSymmetry')

Input

mori,o1,o2

orientation

Output

a

vector3d

m

Miller

See also

orientation/angle