%!demo
%! ## `interp1` interpolates duration-valued data at new sample points — useful for
%! ## resampling a time series measured in durations.
%!
%! t = hours ([0, 1, 2]);
%! v = minutes ([10, 20, 40]);
%! interp1 (t, v, hours (0.5))
