I have some binary files which I need to delete some data at the
beginning of the file (to extract the raw data out of the file). I got a
matlab file from a colleque but I would prefer if I could do it with
This matlab code does the trick:
[r,k]=size(f); if k==1; t=r-1048576; m=f(t+1:r,:); end end % function
How can I do this in ruby? I’m completely lost.