I Need Help with fdatool in Matlab (Filtering Voice Signal)

3 views (last 30 days)
First I modulated two (WAV) voices using amplitude modulation. After modulating I combined the two modulated signals. After combining the two signals I demodulated the sum and extracted A_segdemod (with carrier frequency of 1700kHz). My problem is how to recover the original signal "A" from A_segdemod because it still has some background noise because of the 1700kHz carrier. I do not know the proper parameter to be entered in fdatool. I would really appreciate if someone will give me a step by step process to filter the carrier out of A_segdemod using fdatool so that the noise will be removed and the original signal will be recovered. Thank you!
%Carriers
f1 = 1700000;
f2 = 1720000;
%Sampling Frequency of Signals
Fs = 3560000;
%Input Wav Files
A = wavread('nisa.wav'); %Voice 1
B = wavread('ray.wav'); %Voice 2
%Wav Segments
A_seg = A(44100*1 : 44100*20);
B_seg = B(44100*1 : 44100*20);
%Modulation using AM
A_segmod = ammod(A_seg, f1, Fs);
B_segmod = ammod(B_seg, f2, Fs);
%Combined Signal
Comb = A_segmod + B_segmod;
%Demodulation of Signal A_segmod
A_segdemod = demod(Comb, f1, Fs, 'am');

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!