Painting a digital image based on data inside a matrix

I need to paint an image with size 6x6 based on a matrix with the same size. Each component of the matrix is a color number between 0-255 in the gray scale. The problem is this matrix is located in an external text file (.txt). How can i read that file, use the matrix and then, paint the 6x6 image?
Here im leaving an image of one example of what i need to do In the example, the images size is 8x9

Respuestas (0)

Categorías

Más información sobre Images en Centro de ayuda y File Exchange.

Preguntada:

el 13 de Feb. de 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by