average driving velocity !!!
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Jan
2012 年 3 月 24 日
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.
回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!