source: altifloat/matlab_toolbox/make_next.m @ 199

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

last version of Varanth

  • Property svn:executable set to *
File size: 457 bytes
Line 
1outfile='obs_float/vel_next_all.dat';
2
3ufile='obs_float/unext3d.dat';
4vfile='obs_float/vnext3d.dat';
5fid=fopen(outfile,'w');
6for i=1:36
7   
8time_step=i;
9
10ubck=load(ufile);
11vbck=load(vfile);
12
13%Check if coordinates are the sames
14 
15  vel_bck=zeros(size(ubck,1),5);
16 vel_bck(:,1)=time_step;
17 vel_bck(:,2)=ubck(:,2);
18 vel_bck(:,3)=ubck(:,3);
19 vel_bck(:,4)=ubck(:,4);
20 vel_bck(:,5)=vbck(:,4);
21
22
23 
24 fprintf(fid,'%d %d %d %f %f\n',vel_bck');
25
26 
27
28end
29
30fclose(fid);
Note: See TracBrowser for help on using the repository browser.