function y = myname(l)

M=240;
N=320;

myfidinteger = fopen('sitting4_swarpy/data');
keyboard
fseek(myfidinteger,l*M*N,-1); % position l frames from beginning of file

[y, count]=fread(myfidinteger,M*N,'uchar');

if count~=M*N
  error(sprintf('getframe: was only able to read %d of %d elements',count,M*N))
end%if

fclose(myfidinteger);

y=reshape(y,N,M);
y=y.';

disp(sprintf('loadframe.m: cropping frame %d to 230 by 310',l))
y=y(2:M-8,3:N-7);

