Generate noise using Box muller meathod
Ältere Kommentare anzeigen
What are the other meathod for generating Guassian Noise?
I wrote code for Box muller like:
noise = rand(2,length(data));
AWGN_noise = zeros(1,length(data));
for i1=1:length(data)
AWGN_noise(i1) = sigma_noise * sqrt(-2*log(noise(1,i1)))*cos(2*pi*noise(2,i1));
end
The thing is that I'm not getting much variance in values after Box Muller Transformation. Suggest me some good code to generate guassian noise.
Akzeptierte Antwort
Weitere Antworten (1)
Peter Perkins
am 8 Jun. 2012
0 Stimmen
Is there some reason why you are not using the randn function?
1 Kommentar
Ronak Sakaria
am 8 Jun. 2012
Kategorien
Mehr zu QPSK finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!