How to Simulate the transmission of the audio signal using AM over AWGN channel by using a MATLAB code

16 views (last 30 days)
How to Simulate the transmission of the audio signal using AM over AWGN channel by using a MATLAB code using specifictions
for example
Modulation index 𝑚=0.95 and Channel 𝑆/𝑁 =60 dB

Answers (1)

Chaitanya Mallela
Chaitanya Mallela on 23 Dec 2020
Consider an audio file testSignal.wav . Use audioread function to read the audio file
[y,Fs] = audioread('testSignal.wav');
Consider a carrier signal with frequency Fc <= Fs/2
To satisfy a given modulation index (m) , the carrier amplitude can be considered as
Ac = max(y)/m;
Perform Amplitude Modulation on the audio input
y_ammod = ammod(y,Fc,Fs,0,Ac);
Pass the modulated signal over an AWGN channel with snr
rxSig = awgn(y_ammod,snr,'measured');

Community Treasure Hunt

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

Start Hunting!