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개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

태그

질문:

2015년 6월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by