MATLAB: How to compute duration of the signal

signal processing

how to compute duration of the signal (dim: 200 x 1)

Best Answer

Duration = number of samples divided by sampling frequency.
Equivalently,
Duration = number of samples times sample rate