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.
2 个评论
Walter Roberson
2023-12-7
diff(Vehicle_Speed) / diff(time) in order to calculate acceleration
See instead gradient
回答(1 个)
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
2023-12-7
TITTU GEORGE
2024-2-14
A simple first order filter with a suitable time constant will do the trick in this case
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!