Code covered by the BSD License  

Highlights from
Digital Image Correlation and Tracking

from Digital Image Correlation and Tracking by Christoph Eberl
Calculate displacement and strain from a series of images

linearfit(x,xdata)
function F = linearfit(x,xdata)
        F = x(1)*xdata+x(2);

Contact us at files@mathworks.com