No BSD License  

Highlights from
MATLAB for Engineers

from MATLAB for Engineers by Adrian Biran
Companion Software

trlate(dx, dy)
function T = trlate(dx, dy)

%TRLATE(DX, DY) translates dx along x, dy along y.
%       The translation of an object is performed by
%       multiplying TRLATE by the 3 by n matrix
%       defining the object, for example: trlate(dx, dy)*object

T = [ 1 0 dx; 0 1 dy; 0 0 1];

Contact us at files@mathworks.com