%% Convert Translation Vector to Homogeneous Transformation

trvec = [0.5 6 100];
tform = trvec2tform(trvec)

% Copyright 2019 The MathWorks, Inc.