How can I resample 3051.7578Hz data in 1000Hz?

5 次查看(过去 30 天)
I have a set of time series sampled at 3051.7578Hz. I want to resample the data in 1000Hz (in millisecond resolution). What would be a good way? It seems that "resample" function only deals with a time series collected in a fixed rate (i.e. take only integers for sampling rate input). Should I design a sort of filter?

采纳的回答

Walter Roberson
Walter Roberson 2021-7-12
resample(signal, 10000000, 30517578)

更多回答(1 个)

Jonas
Jonas 2021-7-12
use the interp1() function, it can also deal with non uniformly sampled data

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by