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

rotm = [0 0 1; 0 -1 0; -1 0 0];
eulZYZ = rotm2eul(rotm,'ZYZ')

% Copyright 2019 The MathWorks, Inc.