How do i convert an image plot to a matrix.
51 views (last 30 days)
Ben11 on 21 Nov 2014
Maybe I misunderstood but you might want to use getframe and get the cdata property:
x = -10:10;
y = x.^2;
Frame = getframe(gcf)
FrameData = Frame.cdata; %// This is a matrix that you can plot/show with imshow.