% function b = flip(a) : flip in ud and lr directions; function b = flip(a) b = flipud(fliplr(a));