source: altifloat/matlab_toolbox/arrange_mean.m @ 199

Last change on this file since 199 was 129, checked in by jbrlod, 10 years ago

last version of Varanth

File size: 877 bytes
Line 
1outfile='obs_float/forwardedbymean.dat';
2load obs_float/r_float_obs.dat;
3[d,f]=size(r_float_obs)
4floater1=zeros(d,f);
5count1=1;
6count2=1;
7nboff=3;
8K=82*2
9for i=1:nboff*K
10    if r_float_obs(i,3)==1
11        floater(count1,:)=r_float_obs(i,:);
12        count1=count1+1;
13    end
14end
15
16for i=1:nboff*K
17    if r_float_obs(i,3)==2
18        floater(count1,:)=r_float_obs(i,:);
19        count1=count1+1;
20    end
21end
22for i=1:nboff*K
23    if r_float_obs(i,3)==3
24        floater(count1,:)=r_float_obs(i,:);
25        count1=count1+1;
26    end
27end
28
29% for i=1:nboff*K
30%     if r_float_obs(i,3)==4
31%         floater(count1,:)=r_float_obs(i,:);
32%         count1=count1+1;
33%     end
34% end
35% for i=1:nboff*K
36%     if r_float_obs(i,3)==5
37%         floater(count1,:)=r_float_obs(i,:);
38%         count1=count1+1;
39%     end
40% end
41
42
43
44fid=fopen(outfile,'w');
45fprintf(fid,'%d %d %d %f\n',floater');
46fclose(fid)
Note: See TracBrowser for help on using the repository browser.