How to calculate Relative Positive Acceleration (RPA)
18 views (last 30 days)
Show older comments
Hi, Could anybody help me for MATLAB coding. Let second by second vehicle speed data samples is V (km/h) = 0 3 7 8 14 20 24 22 21 15 11 9 5 2 0 4 6 17 13 6 3 0. How to calculate Relative Positive Acceleration (RPA) using this formula:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/189692/image.jpeg)
With being the acceleration at time step i, (only ai > 0 (m/s2), vi being the vehicle speed at time step i (m/s) and being the total trip distance (m).
The vehicle acceleration was calculated from consecutive vehicle speed samples according to the following equation.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/189694/image.jpeg)
0 Comments
Answers (1)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!