Vehicle speed calculation script
12 ビュー (過去 30 日間)
古いコメントを表示
Hi I need M script file for Vehciel speed calculation and some basic mscript files for learning
0 件のコメント
回答 (2 件)
Sam Chak
2022 年 9 月 23 日
Here is a basic script to calculate the average vehicle speed:
Distance = 200; % km
Duration = 2.5; % hours
AvgSpeed = Distance/Duration % km/h
0 件のコメント
Walter Roberson
2022 年 9 月 23 日
D = input('Enter distance vehicle travelled: ');
T = input('Enter time required for the travel: ');
vehicle_speed = D ./ T
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Control System Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!