%% Convert Rotation Matrix to Euler Angles

rotm = [0 0 1; 0 1 0; -1 0 0];
eulZYX = rotm2eul(rotm)

% Copyright 2019 The MathWorks, Inc.