How can I resample 3051.7578Hz data in 1000Hz?

8 visualizaciones (últimos 30 días)
Soo Hyun Park
Soo Hyun Park el 12 de Jul. de 2021
Editada: Soo Hyun Park el 13 de Jul. de 2021
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?

Respuesta aceptada

Walter Roberson
Walter Roberson el 12 de Jul. de 2021
resample(signal, 10000000, 30517578)
  1 comentario
Soo Hyun Park
Soo Hyun Park el 13 de Jul. de 2021
Editada: Soo Hyun Park el 13 de Jul. de 2021
This worked. Thank you so much

Iniciar sesión para comentar.

Más respuestas (1)

Jonas
Jonas el 12 de Jul. de 2021
use the interp1() function, it can also deal with non uniformly sampled data

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by