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!