I have an image object and I want to show it in a definite axes. So have a script as below:
ax=axes a=round(100*rnd(50)) img=image(a) set(img,'parent',ax)
MATLAB gives an error as; invalid object handle.
I can not understand where I did wrong
Best Answer