What are the different methods converting time from samples to seconds?

5 views (last 30 days)
Can anyone help me by providing the different methods/formulas of converting time from samples to seconds, where for example the sampling frequency Fs=500.
  1 Comment
Guillaume
Guillaume on 17 Apr 2018
It's really not clear what you're asking. For a start "converting time from samples to seconds" is meaningless. samples is not a unit of time.
Calculating the sampling duration of a number of samples when the sampling frequency is Fs is trivial. There's only one formula:
duration = nsamples / Fs;
Surely, that's not what you're asking?

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!