Version:

Last Modified: February 7, 2018

Generates a Rayleigh flat-fading profile with an envelope that statistically obeys the Rayleigh distribution, using the Gans fading model.

The number of complex-valued fading profile samples (having Rayleigh-distributed envelopes) to generate.

**Default: **1000

The system sample rate, in hertz (Hz). This rate is the product of the *symbol rate* × *samples per symbol*.

**Default: **1

The desired input Doppler spread *f* _{ m } of the channel, in hertz (Hz).

This parameter denotes the measure of the spectral broadening caused by the time rate of change of the channel. Doppler spread is defined as the range of frequencies over which the received Doppler spectrum is essentially nonzero. When a pure sine tone at frequency *f* _{ c } is transmitted, the received signal spectrum, called the Doppler spectrum, has components in the range (*f* _{ c } - *f* _{ m }) to (*f* _{ c } + *f* _{ m }). The Doppler spread is related to the mobile velocity *v*, carrier frequency *f* _{ c }, and the speed of light *c* by the relation *f* _{ m } = *v* *f* _{ c }/*c*.

**Default: **0.01

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an **error in** input and an **error out** output so that the node can respond to and communicate errors that occur while code is running. The value of **error in** specifies whether an error occurred before the node runs. Most nodes respond to values of **error in** in a standard, predictable way.

**Default: **No error

The desired variance of the complex-valued Rayleigh distributed fading profile.

**Default: **1

Complex-valued coefficients of the generated fading profile size that equals **profile length**. Wire this parameter to MT Apply Fading Profile to apply this fading profile to a baseband I/Q signal.

The internal state of the node at the end of generation of the fading profile for the current iteration. When **reset?** is set to FALSE, this state is used to continue the fading profile generation at the beginning of the next iteration.

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

**error in** input and an **error out** output so that the node can respond to and communicate errors that occur while code is running. The value of **error in** specifies whether an error occurred before the node runs. Most nodes respond to values of **error in** in a standard, predictable way.

The Rayleigh distribution describes a flat-fading channel characterized by a single-tap impulse response with a time-varying envelope that is Rayleigh-distributed. This model describes the statistical time-varying nature of the received envelope of a flat fading channel or the envelope of an individual multipath component. The Rayleigh distribution has a probability density function (PDF) given by the following equation:

$p\left(r\right)=\frac{r}{{\sigma}^{2}}\mathrm{exp}(-\frac{{r}^{2}}{{2\sigma}^{2}})u\left(r\right)$

where *r* is the specified **fading variance**.

The Gans model generates the Rayleigh fading profile by passing quadrature Gaussian I/Q components through a Doppler filter with a U-shaped power spectral density profile. For the selective fading model, the implementation ensures that the generated fading profile for all paths is uncorrelated.

**Where This Node Can Run: **

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application