%% Convert Euler Angles to Homogeneous Transformation Matrix Using ZYZ Axis Order

eul = [0 pi/2 pi/2];
tformZYZ = eul2tform(eul,'ZYZ')

% Copyright 2019 The MathWorks, Inc.