%% Convert Euler Angles to Rotation Matrix

eul = [0 pi/2 0];
rotmZYX = eul2rotm(eul)

% Copyright 2019 The MathWorks, Inc.