How to add white gaussian noise with specific variance using awgn?
35 ビュー (過去 30 日間)
古いコメントを表示
Georgios Orfanidis
2021 年 9 月 21 日
コメント済み: Georgios Orfanidis
2021 年 9 月 27 日
I want to add white gaussian noise with a specific variance. How can I accomplish this by using either wgn or awgn functions?
Can I do something like that,
out = awgn(in, var=1);
0 件のコメント
採用された回答
Prachi Kulkarni
2021 年 9 月 24 日
Hi,
In the wgn function, if you set the power type to linear i.e. watts, the power of the noise signal is the variance itself.
So, you can generate Gaussian noise of variance noiseVar for a signal of dimensions m x n as follows.
wgn(m,n,noiseVar,'linear')
その他の回答 (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!