Returns a M-by-N matrix y of white Gaussian noise. p specifies the power of the output noise, which is assumed to be referenced to an impedance of 1 Ohm, unless imp explicitly defines the impedance.
If seed is defined then the randn function is seeded with this value.
The arguments type and output must follow the above numerical arguments, but can be specified in any order. type specifies the units of p, and can be "dB", "dBW", "dBm" or "linear". "dB" is in fact the same as "dBW" and is keep as a misnomer of Matlab. The units of "linear" are in Watts.
The output variable should be either "real" or "complex". If the output is complex then the power p is divided equally between the real and imaginary parts.
See also: randn, awgn.
Package: communications