wap for image rotation matlab program
clear all;
close all;
i=imread('R:\basweshwar.jpg');
subplot(1,3,1);
imshow(i);
title('Normal');
j=imrotate(i,50,'nearest');
subplot(1,3,2);
imshow(j);
title('nearest');
k=imrotate(j,50,'bilinear');
subplot(1,3,3);
imshow(k)
title('bilinear');
O/p