function [ output_args ] = arrange_format( nboffloaters, totaltimesteps )

outfile='../obs_float/obs_float_test.dat';
load ../obs_float/r_float_obs.dat;
[d,f]=size(r_float_obs)
floater1=zeros(d,f);
count1=1;
count2=1;
nboff=nboffloaters;
K=totaltimesteps*2

for j=1:nboffloaters
for i=1:nboff*K
    if r_float_obs(i,3)==j
        floater(count1,:)=r_float_obs(i,:);
        count1=count1+1;
    end
end
end


fid=fopen(outfile,'w');
fprintf(fid,'%d %d %d %f\n',floater');
fclose(fid);
end

