How to align two signals to have same 'off' value?

1 view (last 30 days)
I am conducting an LDA classification between two signals over a timeseries.
These signals alternate between on and off in the following pattern: Signal 1 on for one second and signal 2 off, both signals off for one second, Signal 2 on for one second and signal 1 off, both signals off for one second, repeat (see below image)
Net_Sx20_NoW500_0330-2019_111659_Simulation1_LDA_Classification_Training_Simulation1.jpg
The problem is, when both signals are off, the base current value for each signal is different (even though it is a tiny magnitude), as below - e.g. source 1 is 0.1*10^-8A when it is off, but source 2 is 0.8*10^-8A when it is off. You can see this difference in the log plot below:
Net_Sx20_NoW500_0330-2019_111659_Simulation1_logLDA_Classification_Training_Simulation1.jpg
The LDA classifier is much too sensitive to this difference, which is throwing off my classification.
How do I overlay/normalise the signals so that they both have the same off current?

Answers (0)

Categories

Find more on Get Started with Signal Processing Toolbox in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!