What are the different methods converting time from samples to seconds?
5 views (last 30 days)
Show older comments
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
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?
Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!