Compute the length, in time, of a signal.
Time series.
Signal sampling rate, in Hz.
Signal duration, in seconds.