function M = tran2d_h(T)
% Create 2D translation matrix using homogeneous coordinates
% Input      T(x,y)   Translation vector (Tx, Ty)
% Output     M        Translation matrix
%

M = eye(3,3);

M(1,3) = T(1);
M(2,3) = T(2);

end % function
