Effacer les filtres
Effacer les filtres

How to calculate new velocity from present velocity, refrence deceleration and time step?

2 vues (au cours des 30 derniers jours)
GD
GD le 17 Août 2015
I want to decelerate a car based on deceleration of another refrence car. I have a simulink block which has following inputs: own_car_present_velocity(u), acceleration/deceleration value from another car(a),and I will also need time to implement following formula v = u + (a*t). But here as my solver is variable step solver, how do I always get the value of these variable time steps so that I can correctly calculate the final velocity(v) after every time step?

Réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by