Date: Oct 20, 2013 11:24 PM
Author: Eric Lim
Subject: improfile of a current figure

Hi All,

I wish to obtain an line improfile of a current figure and display it as a new figure automatically. The code is as shown below:
xi = [ 0 512];
yi = [ 120 120];
c = improfile(I,xi,yi);

what do I replace the "I" within the code?

Thanks for your guidance and help.