randn, awgn, wgn
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi I have a small doubt. Is
a = awgn(randn(20,20), 6.7) and
a = wgn(20,20,6.7) the same
Aim is, I want a 20X20 frame with a SNR = 6.7 dB
0 Commenti
Risposte (1)
Wayne King
il 1 Dic 2011
Hi, SNR implies that you have a signal, in your call to awgn() you have no signal, just noise.
If you use awgn() you should input your signal and awgn() will add noise at the specified SNR.
3 Commenti
Wayne King
il 1 Dic 2011
but don't want your "frame" to be a matrix of constants then? Again, SNR implies that you have a signal. Do you really want to call randn(20,20) a signal. If you just want noise of a specified variance, that is different than SNR
Vedere anche
Categorie
Scopri di più su Propagation and Channel Models in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!