Determine transformation matrix for rotation around one axis
function axisRotation import Modelica.Math.*; input Integer i(min = 1, max = 3) "rotate around axis i"; input SI.Angle angle "rotation angle"; output Real S[3, 3] "transformation matrix to rotate a frame along axis i around angle"; end axisRotation;