mment">%</span>
0016 <span class="comment">%   OFFSETS = ALIGNWAVEFORMS(TEMPLATE,WAVEFORMS) uses MAXSHIFT = 1.</span>
0017 <span class="comment">%</span>
0018 <span class="comment">%   [OFFSETS,ALIGNED] = ALIGNWAVEFORMS(TEMPLATE,WAVEFORMS,...) also</span>
0019 <span class="comment">%   returns an N x (T-2*MAXSHIFT) x D matrix ALIGNED in which the rows of</span>
0020 <span class="comment">%   WAVEFORMS have been shifted using linear interpolation by the amounts</span>
0021 <span class="comment">%   given in 