the same calendar day.  However, this can also occur if you choose a binning interval on a finer scale than your original data. For example, in this dataset, the early data is sampled every 2 days.  If we try binning this on a daily basis, we end up with sparse data, staggered every other year:</p><pre class="codeinput">isearly = t &lt; datetime(1988,1,1);
[ice, yr, tmid] = reshapetimeseries(t(isearly), extent_N(isearly));

tlbl = doy(tmid, <span class="string">'decimalyear'</span>)- year(tmid(1));

figure;