I have a file CSV which contains DSBSC modulated signal data.The first column represents time and second column represents amplitudes. I have to demodulate this DSBSC signal to obtain message signal.
The DSBSC signal has a DC offset. By plotting the data, it looks like a positive offset is added to positive amplitude values and negative offset is added to negative offset values.
The plot is as shown in the link below.
DSBSC signal with DC offset plot
As both positive and negative offset is present, finding DC offset by calculating mean was not helpful. How do I calculate the offset for this signal?