Clear Filters
Clear Filters

Generate a white Gaussian noise vector

1 view (last 30 days)
Ali
Ali on 29 May 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 ..

Answers (1)

venkat vasu
venkat vasu on 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!