To load and display an image of a mandrill in Matlab, you can use the functions imread
and imshow
. The mandrill image is a built-in image in Matlab.
main.m135 chars6 lines
Note: The mandrill image file (mandrill.png
) should be available in the Matlab search path or you should provide the full path to it.
gistlibby LogSnag