Clarification about wnoise command in MATLAB

1 view (last 30 days)
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?

Answers (0)

Categories

Find more on Denoising and Compression in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!