Filter löschen
Filter löschen

average driving velocity !!!

1 Ansicht (letzte 30 Tage)
alexandre
alexandre am 24 Mär. 2012
Hi people,
am working under Simulink and want to calculate average driving velocity.
I have lookup table who´s look like:
time (s) 0 10 20 30 40 50 60 70 80 85
Velocity (km/h) 0 45 55 20 0 0 30 25 0 0
I need embedded function ( or better a bloc ) to estimate the " time where the velocity is different to zero" along the whole driving cycle
On this step of my simulation i just need a ( embedded ) function or bloc to calcute the deplacement time...
T(deplacement time) = T (time overall the cycle) - T ( V = 0 km/h )
Distance is the Integrale of the velocity over the time ( that´s not a problem )
=> V(average) = Distance / T(deplacement)
Thanks
  1 Kommentar
Jan
Jan am 24 Mär. 2012
This is the 3rd question about the same problem now:
http://www.mathworks.com/matlabcentral/answers/797-how-do-i-write-a-good-answer-for-matlab-answers
http://www.mathworks.com/matlabcentral/answers/33251-average-driving-velocity
Please avoid distributing the information which is necessary to create an answer over different threads.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by