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

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 个评论

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?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Logical 的更多信息

提问:

2018-4-17

评论:

2018-4-17

Community Treasure Hunt

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

Start Hunting!

Translated by