B = imwarp(A,tform)
demo
I = imread('cameraman.tif'); tform = affine2d([1 0 0; .5 1 0; 0 0 1]); % x ⇒ x+0.5*y % y ⇒ y J = imwarp(I,tform);