I want to down sample my vehicle speed.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 7 de Dic. de 2023
diff(Vehicle_Speed) / diff(time) in order to calculate acceleration
See instead gradient
Respuestas (1)
TITTU GEORGE
el 7 de Dic. de 2023
Filtering the differnce equation to get acceleration can be considered..This will help in removing the noise
3 comentarios
Walter Roberson
el 7 de Dic. de 2023
TITTU GEORGE
el 14 de Feb. de 2024
A simple first order filter with a suitable time constant will do the trick in this case
Ver también
Categorías
Más información sobre Multirate Signal Processing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!