Clarification about wnoise command in MATLAB

I need to understand the difference between this code
snr = 10;
init = 2055615866;
[yref,y] = wnoise(1,10,snr,init);
and this code
snr = 10;
init = 2055615866;
xx = wnoise(1,10);
xx_n = awgn(xx,snr,'measured',init);
I guess it should be the same but these two codes give two different result.
which code is more accurate or better to use?

回答 (0 件)

カテゴリ

タグ

質問済み:

2015 年 6 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by