📄 get_data_signal.m
字号:
%%%function [rx_data, burst_start] ... = get_data_signal(PACKET_LENGTH, ... samples_per_burst, samples_per_symbol, burstlength, ... burst,ths,symbol_start,tx_bit)% Now we can create the actual data signal% fprintf('build the data signal, ');% Now take time-hopping into account and pulse position to obtain the index of% the position of the burstsburst_start = symbol_start + ... ths*samples_per_burst + tx_bit*(samples_per_symbol/2);signal_idx = repmat(burst_start,burstlength,1)+repmat((0:burstlength-1)',1,PACKET_LENGTH)+1;% Now the support of the signalrx_data = zeros(1,samples_per_symbol*PACKET_LENGTH);rx_data(reshape(signal_idx,1,PACKET_LENGTH*burstlength)) = burst;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -