
Page24 of 48
The range of the each real and imagery of each element of xk are
−1 ≤ 𝑟𝑒𝑎𝑙(𝑥𝑘(𝑚, 𝑛)) ≤ 1
and
−1 ≤
𝑖𝑚𝑎𝑔(𝑥𝑘(𝑚, 𝑛)) ≤ 1
. If the value is exceed the range of ±1, we will clip to ±1. The time duration between
𝑥𝑘(𝑚, 𝑛)
and
𝑥𝑘(𝑚, 𝑛 + 1)
is the inverse of the sampling rate. In YTPC100 the default sampling rate is
122.88MHz. For example, if user want to generate one period of single tone I/Q raw data with frequency
1.92MHz, user can generate like this
These codes are shown in the file “./Demo_Code_for_YTPC100/TX_only/single_tone_generator.m”
xk will be a 1x64 complex array. If you set rep=1, YTPC100 will transmit these 64 samples once then stop.
If you set rep=2, YTPC100 will tramsit thest 64 samples twice. If you want to transmit these 64 samples
for a while. You can set rep=0 and set the third argument “time=10”, YTPC100 will transmit repeatedly
these 64 samples last 10 senconds then stop. So, the second argument “rep” means how many times for
transmitting xk if rep >0. “rep” should be positive integer. The third argument “time” means how long
you want to tranmit xk, but rep should be set zero rep=0, the unit is second. If you set rep=0 nad
time=1000, YTPC100 will transmit I/Q raw data last 1000 seconds.
If you want to stop transmitting before the time you set, press
“Ctrl+c” and type TX_close()
then
YTPC100 will stop transmitting any thing.
Содержание YTPC100 Series
Страница 28: ...Page28 of 48 Plot Result...
Страница 33: ...Page33 of 48 Program...
Страница 37: ...Page37 of 48 Plot Result QPSK 16QAM 64QAM...
Страница 38: ...Page38 of 48 256QAM 1024QAM...
Страница 40: ...Page40 of 48 16QAM 64QAM...
Страница 41: ...Page41 of 48 256QAM 1024QAM...