Low Pass Filter in AM Demodulation I am trying to recover my baseband signal that was AM modulated. I am using the filter command in MATLAB to perform the low pass filtering ...the code is given below:

Fsig=10;                    Fc=100;              Fsamp=10.*Fc;
t = 0:1/Fsamp:2*pi;

Tx = cos(2.*pi.*Fsig.*t);               % Transmitted Signal
Carrier = cos(600.*t);                  % Carrier Signal
Modulated = Tx.*Carrier;                % Modulated Signal
Demodulated = Modulated.*Carrier;       % Demodulated Signal

Rx= filter([1 1],[1 -0.8],Demodulated);

figure(6);
plot(t,Tx,'r',t,Modulated,'b',t,Demodulated,'g',t,Rx,'k','LineWidth',1.5); grid on;
legend('Trans.','Modulated','Demodulated','Baseband')


How can I select the coefficients of the filter to perfectly recover my baseband signal?
Is there any other technique/command that can be used in matlab to recover the baseband signal other than this?
MATLAB has amdemod (see MATLAB documentation) which can be used to recover suppressed carrier AM modulated signal. From the documentation, the demodulator uses a low-pass filter generated using [num,den] = butter(5,Fc*2/Fs). This can be a good start.