function h=grayimage(x)

% Display Gray scale image
colormap(gray(256));
h=imagesc(x');
axis('image')
axis('off');
