How to generate complex additive white Gaussian noise with the mean 0 and variance of σ^2 .

Antworten (1)

Parag
Parag am 7 Mär. 2025
Bearbeitet: Parag am 7 Mär. 2025
Hi, you can generate noise vector n∼CN(0,σIN) in MATLAB using the following approach:
N = 10; % Size of the noise vector
sigma = 1; % Standard deviation (sqrt of variance)
% Generate complex Gaussian noise
n = (randn(N,1) + 1j * randn(N,1)) * (sigma / sqrt(2));
% Verify mean and variance
mean_n = mean(n)
mean_n = -0.1446 - 0.0488i
var_n = var(n)
var_n = 0.6349

Kategorien

Gefragt:

am 28 Okt. 2020

Bearbeitet:

am 7 Mär. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by