<< mod_process Modulation / demodulation wf_set_filter >>

comm_tbx >> Modulation / demodulation > wf_init

wf_init

Initialization of a waveform object

Parameters

wf:

Output waveform object

M:

Number of possible symbols (number of bits per symbol is $k=log_2(M)$). Default value is 2 (1 bit / symbol).

index:

Modulation index for FSK modulations (ratio between excursion and symbol frequency). Default value is 0.5 (e.g. MSK)

Description

A waveform object is the theorical description of a waveform. It can be used to configure a modulator or a demodulator, or to plot a constellation diagram. By default, the pulse shaping filter for the waveform is NRZ. This can be changed afterwards using the wf_set_filter function.

Support the following modulation types: phase modulations (BPSK, QPSK, M-PSK), amplitude modulations (ASK / OOK), quadrature phase / amplitude modulations (QAM), frequency modulations (M-FSK, with or without gaussian filtering).

Example

wf = wf_init('qam64');
clf(); plot_const(wf);

QAM64 constellation

See also

Authors


Report an issue
<< mod_process Modulation / demodulation wf_set_filter >>