fading_chn_process

Simulation of a fading channel (Rayleigh or Rice model)

Calling sequence

y = fading_chn_process(chn,x);

Parameters

chn:

Fading channel object (see fading_chn_init)

x:

Input baseband signal

y:

Output baseband signal, after fading.

Description

Proceed to Rayleigh or Rice model simulation on a signal, represented in baseband form.

Example

fd = 10;  // Maximum doppler shift = 10 Hz
fs = 1e4; // Sampling frequency = 10 kHz
chn = fading_chn_init('rice', fd, fs, 0.0);
x = ones(fs,1); // 1 second
x = fading_chn_process(chn,x);

Example of channel simulation (channel magnitude)