Hello guys,
I was trying to demodulate an AM modulated signal in matlab. Obviously if the
signal has an Amplitude A, after demodulation it will be A/2. So to recover the
same signal I need an LPF, which has a DC gain 2. Is that right? I've tried
the following code but was not succesful. Multiplying the coefficients with a
scalar.
[b,a]=butter(6,0.02);
k=2;
c=k*b;
output=filter(c,a,demod);
Thanks in advance...