Skip to main content

Gaussian Noise and AWGN



What is Gaussian Noise?

Gaussian noise is a random signal whose amplitude follows a Gaussian (normal) distribution.

p(x) = (1 / √(2πσ²)) e-(x-μ)² / (2σ²)

Where:

  • μ = mean
  • σ² = variance

It is widely used in communication systems because many natural noise sources follow this distribution.

Difference Between Gaussian Noise and AWGN

Feature Gaussian Noise AWGN
Definition Noise with Gaussian distribution Gaussian + Additive + White
Additive Not necessarily Always additive
White (flat spectrum) Not required Yes
Usage General noise model Communication systems


AWGN Noise: Mean and Variance in Practical Systems

In practical communication systems, Additive White Gaussian Noise (AWGN) is modeled with a zero mean and variance based on the signal power and signal-to-noise ratio (SNR).

AWGN Mean

In most practical systems, the mean of the AWGN noise is set to zero. This is because AWGN is symmetric around zero, making it equally likely to increase or decrease the signal.

Why Zero Mean? A zero mean ensures that the noise doesn’t introduce a consistent bias to the signal.

Mean of AWGN = 0

AWGN Variance

The variance of AWGN is determined based on the signal power and the desired SNR.

1. SNR Definition:

SNR = Psignal / Pnoise

Where:

  • Psignal is the average power of the signal.
  • Pnoise is the power (variance) of the noise.

2. Noise Variance:

Pnoise = σ2

3. Convert SNR from dB to Linear Scale:

If SNR is given in decibels (dB), convert it to a linear scale:

SNR (linear) = 10^(SNR (dB) / 10)

4. Variance Calculation:

Rearranging the SNR formula, we get:

σ2 = Psignal / SNR (linear)

Example Calculation

If the average signal power Psignal is 1 (which is typical when the signal is normalized), and the SNR is 20 dB, then:

SNR (linear) = 10^(20 / 10) = 100

The noise variance will be:

σ2 = 1 / 100 = 0.01

Practical Use

The signal power may not always be 1, so you'll need to calculate it or have an estimate. The SNR can vary based on the channel conditions or the design of the communication system. Practical systems often use SNR values between 0 dB (noisy channel) to 30 dB (clean channel).

In summary, the AWGN noise has a zero mean and its variance depends on the signal power and the desired SNR. For normalized signals, you can use the formula:

σ2 = 1 / SNR (linear)



Online Simulator


Theory: Sine Wave, Noise, Variance, and SNR

In our simulation, we generate a noisy sinusoidal signal:


x[n] = A * sin(2Ï€ f n / N) + w[n]
  

Where:

  • A = amplitude of the sine wave
  • f = frequency of the sine wave
  • N = total number of samples
  • w[n] = additive noise with zero mean and variance σ²

The variance of the noise determines how strong the noise is compared to the sine wave:


σ² = P_signal / (10^(SNR_dB / 10))
  

The Signal-to-Noise Ratio (SNR) in decibels is given by:


SNR_dB = 10 * log10(P_signal / σ²)
  

For a pure sinusoid of amplitude A, the average signal power is:


P_signal = A² / 2
  

Using these formulas, we can interconvert between variance and SNR, allowing us to control the noise strength and quality of the generated signal.

Further Reading

  1.  
    AWGN Online Simulator
  2. Gaussian random variable and its PDF in MATLAB
  3. Generation of Gaussian Random Noise using Box-Mullar Transform
  4. Difference between AWGN and Rayleigh Fading
  5. Gaussian vs Uniform Distribution in MATLAB

Contact Us

Name

Email *

Message *

Popular Posts

Rayleigh vs Rician Fading (with MATLAB + Simulator)

  In Rayleigh fading , the channel coefficients tend to have a Rayleigh distribution, which is characterized by a random phase and magnitude with an exponential distribution. This means the magnitude of the channel coefficient follows an exponential distribution with a mean of 1. In Rician fading , there is a dominant line-of-sight component in addition to the scattered components. The channel coefficients in Rician fading can indeed tend towards 1, especially when the line-of-sight component is strong. When the line-of-sight component dominates, the Rician fading channel behaves more deterministically, and the channel coefficients may tend towards the value of the line-of-sight component, which could be close to 1.   MATLAB Script clc; clear all; close all; % Define parameters numSamples = 1000; % Number of samples K_factor = 5; % K-factor for Rician fading SNR_dB = 20; % Signal-to-noise ratio (in dB) % Generate complex Gaussian random variable for Rayleigh fading channel h_r...

UGC-NET Electronic Science Question Paper With Answer Key and Full Explanation [Dec 2023]

    UGC-NET Electronic Science Question Paper With Answer Key Download Pdf [Dec 2023] Download Question Paper               See Answers   2025 | 2024 | 2023 | 2022 | 2021 | 2020 UGC-NET Electronic Science  2023 Answers with Explanations 51. (A): The stacking fault is the most common area defect found in silicon. These faults typically occur along the 111 plane. In the crystalline structure of silicon, atoms are arranged in a specific pattern known as a diamond lattice. A stacking fault refers to a disruption in the normal order of atomic layers within this lattice, which usually occurs in the 111 plane due to the geometric arrangement of the atoms. This type of defect can affect the electrical and mechanical properties of the material, such as the mobility of charge carriers and mechanical strength. 52. (C): The important figure of merit for the microwave application of a Schot...

UGC NET Electronic Science Previous Year Question Papers

Home / Engineering & Other Exams / UGC NET 2022 PYQ 📥 Download UGC NET Electronics PDFs Complete collection of previous year question papers, answer keys and explanations for Subject Code 88. Start Downloading UGC-NET (Electronics Science, Subject code: 88) Subject_Code : 88; Department : Electronic Science; 📂 View All Question Papers Q. UGC Net Electronic Science Question Paper [June 2025] A. UGC Net Electronic Science Question Paper With Answer Key Download Pdf [June 2025] with full explanation Q. UGC Net Electronic Science Question Paper [December 2024] A. UGC Net Electronic Science Question Paper With Answer Key Download Pdf [December 2024] Q. UGC Net Electronic Science Question Paper [Aug 2024] A. UGC Net Electronic Scien...

BER vs SNR for M-ary QAM, M-ary PSK, QPSK, BPSK, ...(MATLAB Code + Simulator)

Bit Error Rate (BER) & SNR Guide Analyze communication system performance with our interactive simulators and MATLAB tools. 📘 Theory 🧮 Simulators 💻 MATLAB Code 📚 Resources BER Definition SNR Formula BER Calculator MATLAB Comparison 📂 Explore M-ary QAM, PSK, and QPSK Topics ▼ 🧮 Constellation Simulator: M-ary QAM 🧮 Constellation Simulator: M-ary PSK 🧮 BER calculation for ASK, FSK, and PSK 🧮 Approaches to BER vs SNR What is Bit Error Rate (BER)? The BER indicates how many corrupted bits are received compared to the total number of bits sent. It is the primary figure of merit for a...

Constellation Diagrams of ASK, PSK, and FSK (with MATLAB Code + Simulator)

Constellation Diagrams: ASK, FSK, and PSK Comprehensive guide to signal space representation, including interactive simulators and MATLAB implementations. 📘 Overview 🧮 Simulator ⚖️ Theory 📚 Resources Definitions Constellation Tool Key Points MATLAB Code 📂 Other Topics: M-ary PSK & QAM Diagrams ▼ 🧮 Simulator for M-ary PSK Constellation 🧮 Simulator for M-ary QAM Constellation BASK (Binary ASK) Modulation Transmits one of two signals: 0 or -√Eb, where Eb​ is the energy per bit. These signals represent binary 0 and 1. BFSK (Binary FSK) Modulation Transmits one...

Theoretical vs. simulated BER vs. SNR for ASK, FSK, and PSK (MATLAB Code + Simulator)

📘 Overview 🧮 Simulator 💻 Theoretical Code 📊 Simulated Code 📚 Resources Overview BER vs. SNR denotes how many bits in error are received for a given signal-to-noise ratio, typically measured in dB. Common noise types in wireless systems: 🚀 1. Additive White Gaussian Noise (AWGN) 🌊 2. Rayleigh Fading AWGN adds random noise; Rayleigh fading attenuates the signal variably. A good SNR helps reduce these effects. Bit Error Rate (BER) Equations BER formulas for ASK, FSK, and PSK modulation schemes. ASK BER = 0.5 × erfc(0.5 × √SNR) FSK BER = 0.5 × erfc(√(SNR / 2)) PSK BER = 0.5 × erfc(√SNR) erfc / Q-function (Click here) Live BER S...

OFDM vs SC-OFDM

  The main difference between OFDM and SC-OFDM is that SC-OFDM transmits the signal using a single carrier, while OFDM uses multiple subcarriers. However, in SC-OFDM, the signal is generated with different sub-bands, but it is transmitted through a single carrier (more technically, through a wideband carrier signal). Block Diagram of OFDM: Data → Modulation → Serial-to-Parallel → IFFT → Add CP → Transmit Received Signal → Remove CP → FFT → Parallel-to-Serial → Demodulation → Data Block Diagram of SC-OFDM: Data → Modulation → DFT → IFFT → Add CP → Transmit Received Signal → Remove CP → FFT → Demodulation → Data    In the case of OFDM, the input modulated data is converted from a serial stream to parallel streams, and different subcarriers are assigned to each chunk. Then, IFFT is applied to these chunks, and a cyclic prefix is added to each one. Each chunk is technically referred to as an OFDM symbol . Unlike OFDM, SC-OFDM does not perform serial-to-parallel conversion ...

Fourier Transform of Unit Step Function Using MATLAB

  MATLAB Script  clc; clear; close all; % Time domain setup Fs = 1000;               % Sampling frequency T = 1/Fs;                % Sampling interval L = 2048;                % Number of samples t = (-L/2 : L/2 -1)*T;   % Symmetric time vector % Unit step function u(t) ≈ heaviside(t) x = double(t >= 0);      % Discrete unit step % FFT and frequency axis X = fftshift(fft(x));    % Shift zero freq to center f = (-Fs/2):(Fs/L):(Fs/2 - Fs/L);   % Frequency vector % Normalize FFT output X = X / L; % Plot time-domain signal figure(); plot(t, x, 'LineWidth', 1.5); title('Unit Step Function u(t)'); xlabel('Time (s)'); ylabel('Amplitude'); grid on; xlim([-0.01 0.01]); % Plot frequency-domain magnitude figure(); plot(f, abs(X), 'LineWidth', 1.5); title('Fourier Transform of a Rectangular Function'); xlabel('Frequency (Hz...