
Page23 of 48
6.
Introduction of MATLAB APIs and Examples
This section will introduce all the APIs of YTPC100 platform.
All APIs are in the folder “.\release\tool”.
User can easily do the communication applications by using the APIs on YTPC100 platform. This section
will introduce some examples of communication applications. User can quickly understand how to build
user’s own algorithm for communication systems based on our examples.
All the example code are in the folder: “.\release\Demo_Code_for_YTPC100”.
6.1
Transmit I/Q raw data : TX()
⚫
TX(data, repetition, wait_time)
(1)
Use Case1: TX(data, times)
(2)
Use Case2: TX(data, rep, seconds)
⚫
Example path: “ .\release\Demo_Code_for_YTPC100\TX_only\TX_exp_with_TX_gain.m “
User could generate any I/Q raw data in MATLAB and transmits these I/Q raw data by calling the function
TX(). The TX() function has three arguments “TX(xk, rep, time)”, the first argument “xk” is the MATLAB
complex variable and xk can be replaced with any other variable.
The row dimension means the number of TX RF chain, the first-row data will be transmitted to TX1,
second-row data will be transmitted to TX2 and so on. The column dimension means the number of
samples of the I/Q raw data. The limintation of total number of elements of xk is less than 8e7 (numel(xk)
<= 8e7). If the SDR has 4 TX RF chain, the limitation of row dimension is less than 4. The type of each
element of xk should be complex and double for real and double for imagery part. User can use “whos”
to see the attribute of xk.
Содержание 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...