Changeset 28026
- Timestamp:
- 12/05/23 09:39:58 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/m/contrib/chenggong/modeldata/interpMonthlyIceMaskGreene.m ΒΆ
r27966 r28026 45 45 46 46 % get time index 47 idt_min = max( find(t<=time(1), 1, 'last'), 1);48 idt_max = min( find(t>=time(end), 1, 'first'), length(t));47 idt_min = max([find(t<=time(1), 1, 'last'), 1]); 48 idt_max = min([find(t>=time(end), 1, 'first'), length(t)]); 49 49 t = t(idt_min:idt_max); 50 50
Note:
See TracChangeset
for help on using the changeset viewer.