<< iir1_design Miscealenous Modulation / demodulation >>

comm_tbx >> Miscealenous > sct_test_signal

sct_test_signal

Generation of test signal.

Parameters

num:

Test signal number (1 is BPSK, 2 is QPSK)

opt:

'r' for real signal, 'c' for complex (baseband or low-if) signal

x:

Output signal (1d vector, complex or real)

fs:

Sampling frequency

fi:

Intermediate frequency

fsymb:

Symbol frequency

b:

Binary sequence before modulation

Description

This function can be used so a to generate a test signal. The following signals are provided:

Example

x = sct_test_signal();
clf(); plot_psd(x,1e6);

Test signal 1 (BPSK, with FI = 2 MHz) : power spectrum

Authors


Report an issue
<< iir1_design Miscealenous Modulation / demodulation >>