why my 6th graph is horizontal lines? in the 'Martin_Co​mpareElect​ricCar' Very urgent!!

1 回表示 (過去 30 日間)
CYY
CYY 2022 年 7 月 24 日
コメント済み: Voss 2022 年 7 月 24 日
In Martin_ElectricCar1.m Martin_ElectricCar2.m Daniel_ElectricCar.m ,after running program they have downward's slope in 'Remaining Battery Energy VS Time' graph(6th) However after combining them, the graph they become horizontal thanks!!

採用された回答

Voss
Voss 2022 年 7 月 24 日
Each "Remaining Battery Energy" is on a different scale:
% ~100
Daniel_ElectricCar
Your car crosses the finish line after 37 seconds. This requires 6.815751e-01 kWh of battery energy.
% ~82-84
Martin_ElectricCar1
Your car crosses the finish line after 37 seconds. This requires 5.832827e-01 kWh of battery energy.
% ~20-22
Martin_ElectricCar2
Your car crosses the finish line after 37 seconds. This requires 4.766005e-01 kWh of battery energy.
So when you plot them together on the same scale, they each look flat (i.e., Nothing is Wrong!!):
% ~0-100
Martin_CompareElectricCar
  3 件のコメント
CYY
CYY 2022 年 7 月 24 日
Oh I got it thank u
Voss
Voss 2022 年 7 月 24 日
You're welcome!

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by