I want to down sample my vehicle speed.

2 次查看(过去 30 天)
Hello, I am working on calculations of tractive force using vehicle longitudinal model. I want to down sample my vehicle speed which has steps in it. I am using diff(Vehicle_Speed) / diff(time) in order to calculate acceleration. The acceleration is too noisy which in turn gives me noisy tractive curve. Please let me know how to down sample my data to 10 Hz.

回答(1 个)

TITTU GEORGE
TITTU GEORGE 2023-12-7
Filtering the differnce equation to get acceleration can be considered..This will help in removing the noise
  3 个评论
Walter Roberson
Walter Roberson 2023-12-7
You can only use downsample() for that purpose if the ratio of the original frequency to 10 Hz happens to be an integer. Otherwise you should use resample
... I don't think you will be satisfied with the results, but you will need to try it and see.
TITTU GEORGE
TITTU GEORGE 2024-2-14
A simple first order filter with a suitable time constant will do the trick in this case

请先登录,再进行评论。

类别

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

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by