Introduction - If you have any usage issues, please Google them yourself
Demodulating the signal.
DeAmpMod = (1/2).*(ademod(AmpMod,Fc,Fs, amdsb-sc ,num,den))
(ALTERNATIVE APPROACH)
DeAmpMod = AmpMod.*Cs
Designing butterworth low pass filter.
[num,den] = butter(2,.8)
FilteredOutput = filter(num,den,DeAmpMod)
Plotting the input speech signal data .
subplot(2,2,1)
axis normal
plot(data)
grid on
title( Initial Speech Signal )
xlabel( Samples )
ylabel( Speech Signal )
Plotting the modulated speech signal AmpMod .
subplot(2,2,2)
axis normal
plot(AmpMod)
title( Modulated Speech Signal )
xlabel( Samples )
ylabel( Modulated Signal )