Professional Documents
Culture Documents
20-42776-1 Exp4
20-42776-1 Exp4
Abstract:
This experiment is designed to-
• To understand the use of MATLAB for solving communication engineering
problems.
• To develop understanding of Nyquist bit rate and Shannon capacity using
MATLAB.
Introduction:
Nyquist Bit Rate: The Nyquist bit rate formula defines the theoretical maximum
bit rate for a noiseless channel.
In this formula, bandwidth is the bandwidth of the channel, SNR is the signal-to-
noise ratio, and capacity is the capacity of the channel in bits per second.
Signal-to-noise ratio (SNR): To find the theoretical bit rate limit, we need to
know the ratio of the signal power to the noise power. The signal-to-noise ratio is
defined as:
𝐴𝑣𝑒𝑟𝑎𝑔𝑒 𝑆𝑖𝑔𝑛𝑎𝑙 𝑃𝑜𝑤𝑒𝑟
𝑆𝑁𝑅 =
𝐴𝑣𝑒𝑟𝑎𝑔𝑒 𝑁𝑜𝑖𝑠𝑒 𝑃𝑜𝑤𝑒𝑟
A high SNR means the signal is less corrupted by noise; a low SNR means the
signal is more corrupted by noise.
Fig-1: Two cases of SNR: a high SNR and a low SNR
Because SNR is the ratio of two powers, it is often described in decibel units,
SNRdB, defined as:
𝑆𝑁𝑅𝑑𝐵 = 10log10 𝑆𝑁𝑅
Result:
Lab Task:
Code:
Command:
Result:
Discussion:
The goal of this experiment was to get familiar with various MATLAB commands
and to use them for problem solving. In this experiment, the signal, the noise and
the SNR (signal and noise ratio) was found out. In the first MATLAB code, the SNR
value was 16.9392 and in decibel scale the SNR value was 16.9897 for the one signal
and one noise code. For multiple signal and noise, the SNR value was 12.1287, in
decibel scale SNR was 10.83 and the signal capacity was 1.8070e+04.