Changeset 1085
- Timestamp:
- 06/24/09 14:51:23 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/Exp/expcoarsen.m
r1084 r1085 18 18 A=expread(oldfile,1); 19 19 numprofiles=size(A,2); 20 A(1).x(end) 20 21 21 22 %Go through the profiles … … 26 27 j=1; 27 28 28 while 1, 29 30 %stop if we have reached end of profile (always keep the last point) 31 if j>numpoints-1, 32 break 33 end 29 %stop if we have reached end of profile (always keep the last point) 30 while j<numpoints-1,, 34 31 35 32 %See whether we keep this point or not … … 43 40 end 44 41 end 42 45 43 end 44 A(1).x(end) 46 45 47 46 expwrite(A,newfile);
Note:
See TracChangeset
for help on using the changeset viewer.