MATLAB: How to convert a image to matrix

how to convert a image to matrix?

Best Answer

M = imread('MyImage.png')
M is a matrix ...