(Has been removed) Generate Rician distributed noise
Rician Noise Generator has been removed. Use the MATLAB Function (Simulink) block and randn function instead.
Noise Generators sublibrary of Comm Sources
The Rician Noise Generator block generates Rician distributed noise. The Rician probability density function is given by
where:
σ is the standard deviation of the Gaussian distribution that underlies the Rician distribution noise
m2 = mI2+mQ2, where mI and mQ are the mean values of two independent Gaussian components
I0 is the modified 0th-order Bessel function of the first kind given by
Note that m and σ are not the mean value and standard deviation for the Rician noise.
You must specify the Initial seed for the random number generator. When it is a constant, the resulting noise is repeatable. The vector length of the Initial seed parameter should equal the number of columns in a frame-based output or the number of elements in a sample-based output. The set of numerical parameters above the Initial seed parameter in the dialog box can consist of vectors having the same length as the Initial seed, or scalars.
The scalar Initial seed parameter initializes the random
number generator that the block uses to generate its Rician-distributed complex
random process. When multiple blocks in a model have the Initial
seed parameter, you can choose different initial seeds for each block
to ensure different random streams are used in each block. Set Initial
seed to an integer value for repeatable results or use the randi function to randomize your results.
The output signal can be a frame-based matrix, a sample-based row or column vector, or a sample-based one-dimensional array. These attributes are controlled by the Frame-based outputs, Samples per frame, and Interpret vector parameters as 1-D parameters. See Sources and Sinks in Communications Toolbox™ User's Guide for more details.
The number of elements in the Initial seed and Sigma parameters becomes the number of columns in a frame-based output or the number of elements in a sample-based vector output. Also, the shape (row or column) of the Initial seed and Sigma parameters becomes the shape of a sample-based two-dimensional output signal.
Either K-factor or Quadrature
components.
K =
m2/(2σ2),
where m is as in the Rician probability density
function. This field appears only if Specification
method is K-factor.
The mean values mI and
mQ, respectively, of the
Gaussian components. These fields appear only if Specification
method is Quadrature
components.
The variable σ in the Rician probability density function.
The initial seed value for the random number generator.
The period of each sample-based vector or each row of a frame-based matrix.
Determines whether the output is frame-based or sample-based. This box is active only if Interpret vector parameters as 1-D is unchecked.
The number of samples in each column of a frame-based output signal. This field is active only if Frame-based outputs is checked.
If this box is checked, then the output is a one-dimensional signal. Otherwise, the output is a two-dimensional signal. This box is active only if Frame-based outputs is unchecked.
The output can be set to double or
single data types.
[1] Proakis, John G., Digital Communications, Third edition, New York, McGraw Hill, 1995.