let me try to explain in detail: my aim is: take a basic low-res image and retrieve the colours used in in this image into an array called Palette (From the [~, Palette] command above we see Palette contains 8 colours). Now i want an matlab matrix which maps the image, i.e. something ismilar to ascii art except the characters used to draw the image are the indices of the original colouring which is stored in the Palette array,
so if there was a black cell, it would be replaced by the index where 0,0,0 is held in the Palette array.
Hope that helps?