Background: The software that i use to anaylze my signals is matlab. I have two audio signals that were recorded using two magnetic sensors. Lets call one sensor A and the other one B. A and B have mutual inductance between them.
While sensors A and B are working, I would like to subtract the information that was received in sensor A due to mutual inductance from sensor B.
I tried to subtract signal B from signal A, by simply writing in matlab (A-B), but it gives me a wierd answer. I think that it derives from a shift that I have in phase. The beginning recording time of the two tracks is the same, and therefore I think that it is not a time delay.
I would like to know how to do this subtraction process in theory, and if anyone have any tips how to implement it easily in matlab I would like to know.
I will really appreciate any help.
Thanks in advance.
Below I attached pictures of the signals graphs. In the first pic you can see the signals that are received from sensor A and sensor B. In the second picture, I plotted sensor A in red and sensor B in blue, in the range of 2.12:2.16 and zoomed in even more.