how to plot signals on the same scale

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 Kommentare

madhan ravi
madhan ravi am 16 Nov. 2023
Bearbeitet: madhan ravi am 16 Nov. 2023
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 am 16 Nov. 2023
Hi, They are lfp cells and yes I'm trying to scale them with capacity

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Les Beckham
Les Beckham am 16 Nov. 2023

1 Stimme

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)

Kategorien

Tags

Gefragt:

am 16 Nov. 2023

Beantwortet:

am 16 Nov. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by