Import pulse sequence experimental data
adds the pulse sequence experimental data to the
Current input arrays must have equal lengths.
addData computes the charge and state of charge (SOC), using the
assumption that the experimental test range is 0% to 100% SOC.
Add Data to
This example shows how to add data to a
Create a pulse sequence object.
psObj = Battery.PulseSequence; disp(psObj)
Load data from a file.
FileName = 'Synthetic_LiPo_PulseDischarge.mat'; [time,voltage,current] = Battery.loadDataFromMatFile(FileName);
Add the data to the pulse sequence.
psObj — Instance of
Battery.PulseSequence object for the pulse sequence that you want to analyze.
Time — Time
1 array of time data, in s.
Voltage — Voltage
1 array of voltage data, in V.
Current — Current
1 array of current data, in A.
Introduced in R2016b