
% imageData is a matrix which is created by reading 
% the rice64.png image
grayScaleImage = imread('cell64.png');

lineSize = size(grayScaleImage,1);
NPixels = size(grayScaleImage,1) * size(grayScaleImage,2);

% turn the array into a vector
grayScaleSignal = reshape(grayScaleImage,1,NPixels);

% insert a column of 'time values' in front -- the from workspace
% block expects time followed by data on every row of the input
grayScaleSignal = [ double(0:NPixels-1)'  double(grayScaleSignal)'];

