I had a 32*32 matrix and applied "imagesc" to plot an image with code below:
imagesc(double(matrix)) % 32*32 matrix
axis off, axis image
Presently, I need to export this image with 32*32 pixels without any white space around it. I search this question a lot, but cannot find any solutions.
Please help me. Thanks a lot. 🙂
Best Answer