Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

matlab Noise Analysis Assume a square signal with a height of 1 and period of 2 Hz is sent over a noisy channel. The limited

matlab

Noise Analysis

Assume a square signal with a height of 1 and period of 2 Hz is sent over a noisy channel. The limited bandwidth property of the channel does not allow us to send more than 5 harmonics. During the transmission, noise is added to the signal. The receiver receives the signal by sampling it at its middle and assigning a 1 to it if the signal level is higher than 0.6, and 0 if the signal level is less than 0.4. 1. Create a series of square waves and send them over the channel using their first 5 harmonics only. 2. Add noise to the signal. 3. Plot the noisy signal. 4. Detect the signal value after the noise and count the number of bits received incorrectly. 5. Increase the power of noise and repeat the experiment. To add noise to your signal, you can use awgn function from MATLAB. The function includes a parameter to define SNR level. Example below from Mathworks show how the function works.

% awgn function adds white Gaussian noise to the vector signal x. The scalar

% snr specifies the signal-to-noise ratio per sample, in dB.

t = 0:.1:10;

x = sawtooth(t); % Create sawtooth signal.

y = awgn(x,10,measured); % Add white Gaussian noise.

plot(t,x,t,y) % Plot both signals.

legend(Original signal,Signal with AWGN);

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Security XI Status And Prospects

Authors: T.Y. Lin, Shelly Qian

1st Edition

0412820900, 978-0412820908

More Books

Students also viewed these Databases questions

Question

Why We Listen?

Answered: 1 week ago