Code covered by the BSD License  

Highlights from
Toolbox image

from Toolbox image by Gabriel Peyre
A toolbox that contains image processing functions

test_image_rotation.m
% test for image rotation

M = load_image('lena', 256);

theta = pi/50;
for i=1:100
    M = perform_image_rotation(M,theta);
    imageplot(M); drawnow;
end

Contact us at files@mathworks.com