average driving velocity !!!

2 ビュー (過去 30 日間)
alexandre
alexandre 2012 年 3 月 23 日
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"
Thanks
  2 件のコメント
Jan
Jan 2012 年 3 月 23 日
The question cannot be answered uniquely: You can find an infinite number of polynoms through these points. E.g. the velocity between 40 and 50 could be negative. Do you have any further restrictions to the jerk, speed or position? E.g. the motion could be energy optimal and the speed >= 0.
alexandre
alexandre 2012 年 3 月 23 日
thx for the answer, am struggling since few hours but no solution !
On this step of my simulation i just need a ( embedded ) function or bloc to calcute the deplacement time...
T (deplacement) = T (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)
It means: i just have velocity and the corresponding time
p.s: it can also be any other driving cycle :(

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by