Generate a white Gaussian noise vector

2 Ansichten (letzte 30 Tage)
Ali
Ali am 29 Mai 2012
hi
i wish anyone can help me .. i have this quastion to solve:
Generate a white Gaussian noise vector ,,
Note that the Signal-to-Noise Ratio in dB is SNR = 10*log10(Ps/Pn)), with Ps the power of the signal and Pn the power of the noise.
any help is appreciated ..

Antworten (1)

venkat vasu
venkat vasu am 30 Jul. 2012
y = wgn(m,n,p); generates an m-by-n matrix of white Gaussian noise. p specifies the power of y in decibels relative to a watt. The default load impedance is 1 ohm. Example:
y2 = wgn(100,1,0,'complex');

Community Treasure Hunt

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

Start Hunting!

Translated by