how to plot signals on the same scale

1 回表示 (過去 30 日間)
Kayla Garcia
Kayla Garcia 2023 年 11 月 16 日
回答済み: Les Beckham 2023 年 11 月 16 日
hi,
i have 3 different excel files that im plotting , however one file that does not have same time scale, but i would like them to plot on the same scale (the red and blue are on the same but not the green one). please help.
  2 件のコメント
madhan ravi
madhan ravi 2023 年 11 月 16 日
編集済み: madhan ravi 2023 年 11 月 16 日
when you mean timescale do you mean capacity? Just out of curiosity , are those from LFP cell (green) and NMC cells (blue and red)?
Kayla Garcia
Kayla Garcia 2023 年 11 月 16 日
Hi, They are lfp cells and yes I'm trying to scale them with capacity

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

回答 (1 件)

Les Beckham
Les Beckham 2023 年 11 月 16 日
For the green one, just subtract the first element of the capacity vector from the entire vector in your plot command.
For example:
plot(capacity_blue, V_blue, capacity_red, V_red, capacity_green - capacity_green(1), V_green)

カテゴリ

Help Center および File ExchangeTest and Measurement についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by