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

People are good at skipping over material they already know!

View Related Topics to







Contact Us

Name

Email *

Message *

Popular Posts

Theoretical BER vs SNR for binary ASK, FSK, and PSK with MATLAB Code + Simulator

📘 Overview & Theory 🧮 MATLAB Codes 📚 Further Reading Bit Error Rate (BER) Equations In ASK, noise directly affects the signal amplitude, making it the most vulnerable since the data is carried in amplitude changes. In FSK, data is represented by frequency variations, and because noise typically impacts amplitude more than frequency, FSK is more robust than ASK. In PSK, data is encoded in the signal phase, and BPSK specifically uses 180-degree phase shifts, creating the greatest separation between signal points and therefore achieving the lowest bit error rate (BER) for the same power level. 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-func...

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...

How to use MATLAB Simulink

Introduction to MATLAB Simulink MATLAB Simulink is a popular add-on of MATLAB. Here, you can use different blocks like modulator, demodulator, AWGN channel, etc. And you can do experiments on your own. Steps to Get Started 1. Go to the 'Simulink' tab at the top navbar of MATLAB. If not found, click on the add-on tab, search 'Simulink,' and then click on it to add. 2. Once you installed the simulation, click the 'new' tap at the top left corner. 3. Then, search the required blocks in the 'Simulink library.' Then, drag it to the editor space. 4. You can double-click on the blocks to see the input parameters. 5. Then, connect the blocks by dragging a line from one block's output terminal to another block's input. 6. If the connection is complete, click the 'run' tab in the middle of the top navbar. 7. After clicking on the run ...

Online Simulator for ASK, FSK, and PSK

Try our new Digital Signal Processing Simulator!   •   Interactive ASK, FSK, and BPSK tools updated for 2025. Start Now Interactive Modulation Simulators Visualize binary modulation techniques (ASK, FSK, BPSK) in real-time with adjustable carrier and sampling parameters. 📡 ASK Simulator 📶 FSK Simulator 🎚️ BPSK Simulator 📚 More Topics ASK Modulator FSK Modulator BPSK Modulator More Topics Simulator for Binary ASK Modulation Digital Message Bits Carrier Freq (Hz) Sampl...

OFDM Waveform with MATLAB Code (with Simulator)

  In OFDM (Orthogonal Frequency Division Multiplexing) , we transmit multiple orthogonal subcarriers simultaneously. Since the subcarriers are orthogonal , they do not interfere with each other, which is one of the main advantages of OFDM. Practically, OFDM converts a wideband signal into multiple narrowband orthogonal subcarriers. For typical wireless communication, if the signal bandwidth (or symbol duration) exceeds the coherence bandwidth of the channel, the signal experiences frequency-selective fading . Fading distorts the signal, making it difficult to recover the original information. By using OFDM, we transmit the same wideband signal across multiple orthogonal narrowband subcarriers, reducing the effect of fading. For example, if we want to transmit a signal of bandwidth 1024 kHz , we can divide it into N = 8 subcarriers . Each subcarrier is then spaced by: Δf = Total Bandwidth N = 1024 8 kHz...

MATLAB Code for Constellation Diagram of QAM configurations such as 4, 8, 16, 32, 64, 128, and 256-QAM

📘 Overview of QAM 🧮 4-QAM MATLAB 🧮 16-QAM MATLAB 🚀 Online Simulator 📂 Other Topics on Constellation Diagrams... ▼ 🧮 MATLAB Code for 4-QAM 🧮 MATLAB Code for 16-QAM 🧮 MATLAB Code for m-ary QAM 🧮 Simulator for m-ary PSK 🧮 Simulator for m-ary QAM 🧮 Overview of Energy per Bit (Eb / N0) 🧮 Simulator for ASK, FSK, and PSK Overview of QAM One of the best-performing modulation techniques is QAM [↗] . Here, we modulate the symbols by varying the carrier signal's amplitude and phase in response to the variation in the message signal (or voltage variation). So, we may say that QAM is a combination of phase and amplitude modulation. Additionally, it performs better than ASK or PSK [↗] . In fact, any constellation for any type of modulatio...

Simulation of ASK, FSK, and PSK using MATLAB Simulink (with Online Simulator)

📘 Overview 🧮 How to use MATLAB Simulink 🧮 Simulation of ASK using MATLAB Simulink 🧮 Simulation of FSK using MATLAB Simulink 🧮 Simulation of PSK using MATLAB Simulink 🧮 Simulator for ASK, FSK, and PSK 🧮 Digital Signal Processing Simulator 📚 Further Reading ASK, FSK & PSK HomePage MATLAB Simulation Simulation of Amplitude Shift Keying (ASK) using MATLAB Simulink In Simulink, we pick different components/elements from MATLAB Simulink Library. Then we connect the components and perform a particular operation. Result A sine wave source, a pulse generator, a product block, a mux, and a scope are shown in the diagram above. The pulse generator generates the '1' and '0' bit sequences. Sine wave sources produce a specific amplitude and frequency. The scope displays the modulated signal as well as the original bit sequence created by the pulse generator. Mux i...

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 on...