Generation of test signal.
Test signal number (1 is BPSK, 2 is QPSK)
'r' for real signal, 'c' for complex (baseband or low-if) signal
Output signal (1d vector, complex or real)
Sampling frequency
Intermediate frequency
Symbol frequency
Binary sequence before modulation
This function can be used so a to generate a test signal. The following signals are provided:
x = sct_test_signal(); clf(); plot_psd(x,1e6); | ![]() | ![]() |
Test signal 1 (BPSK, with FI = 2 MHz) : power spectrum