Decimation function needs a double precision vector
古いコメントを表示
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.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Multirate Signal Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!