flip half of matrix over the diagonal to make a Learn more about matrix, flip, diagonal. B = fliplr(A) returns A with its columns flipped in the left-right direction (that is, about a vertical axis).If A is a row vector, then fliplr(A) returns a vector of the same length with the order of its elements reversed. If A is a column vector, then fliplr(A) simply returns realtime-windowsserver.com multidimensional arrays, fliplr operates on the planes formed by the first and second dimensions. I am trying to rotate an image with Matlab without using imrotate function. I actually made it by using transformation realtime-windowsserver.com it is not good realtime-windowsserver.com problem is, the rotated image is "sliding".Let me tell you with pictures.

## Nilkis

In my opinion it already was discussed