function M=makeTransformMatrix(t)

t1=t(1);
t2=t(2);
t3=t(3);

Mt = makehgtform('translate',[t1 t2 0]);
Mr = makehgtform('zrotate',t3);

M=Mt*Mr;
