%TRANS Translation % Homogeneous transform for rotation about x axis % % Syntax: T = trans(x, y, z) % % Inputs: % (x, y, z) - translation vector % % Outputs: % T - homogeneous translation transformation % Author: Travis Hydzik % Last revision: 19 October 2004 function T = trans(x, y, z) T = [ 1 0 0 x 0 1 0 y 0 0 1 z 0 0 0 1 ];