Description: IMROTATE2 Rotates an image with circular shift.
B = IMROTATE2(A,ANGLE) rotates image A by ANGLE degrees in a counterclockwise direction around its center point. To rotate the image clockwise, specify a negative value for ANGLE. It makes the output image B the same size as the input image, and uses nearest-neighbor interpolation by default, setting the values of pixels in B that are outside the rotated image to the corresponding circular-shifted values.
File list (Check if you may need any files):
imrotate2.m