wf_set_filter

Specification of the pulse shaping filter for a waveform

Séquence d'appel

wf = wf_set_filter(wf, 'none');
wf = wf_set_filter(wf, 'nrz');
wf = wf_set_filter(wf, 'rc', ntaps, roll_off);
wf = wf_set_filter(wf, 'srrc', ntaps, roll_off);
wf = wf_set_filter(wf, 'gaussian', ntaps, BT);

Paramètres

roll_off:

Roll-off factor (for RC / SRRC filters)

BT:

Bandwidth-time product (for gaussian filter)

ntaps:

Number of taps of the FIR filter (for implementation of RC, SRRC or Gaussian filters)

Description

Note that if a gaussian filter is specified, actually what is implemented is the convolution of a gaussian filter with a moving average filter (of length given by the symbol period), or, saying it another way, the gaussian filter is applied to a signal preformated using NRZ.

Exemple

wf = wf_init('bpsk'); // Default pulse shaping is NRZ
// Change it to SRRC (with a roll-off of 0.2)
wf = wf_set_filter(wf, 'srrc', 0.2)