Decimation function needs a double precision vector
Mostrar comentarios más antiguos
I am trying to decimate some data that was recorded at 100Hz down to 50Hz. So far, I extracted the three columns to decimate and tried:
data_X = data(:,[3])
It's a massive file, so here is the ouput preview, so you can get an idea of what is going into the next piece of code.

Then, I am trying to run the decimate function using...
data_X_50 = decimate(data_X,2);
resulting in this error:
.I am very new to coding in MatLab and this is my first time posting a question here, so I really appreciate any help.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Multirate Signal Processing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!