function [M] = trans(x,y,z)
%UNTITLED2 Summary of this function goes here
%   Detailed explanation goes here
M=[1 0 0 x
   0 1 0 y
   0 0 1 z
   0 0 0 1];
end

