%% Convert Euler Angles to Rotation Matrix Using ZYZ Axis Order

eul = [0 pi/2 pi/2];
rotmZYZ = eul2rotm(eul,'ZYZ')

% Copyright 2019 The MathWorks, Inc.