
How to generate complex additive white Gaussian noise with the mean 0 and variance of σ^2 .
12 ビュー (過去 30 日間)
古いコメントを表示
Hi ,
I'm looking forward to generate the noise vector n ∼ CN(0,σ^2IN), where IN is the identity matrix of N*N.
0 件のコメント
回答 (1 件)
Parag
2025 年 3 月 7 日
編集済み: Parag
2025 年 3 月 7 日
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)
var_n = var(n)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Propagation and Channel Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!