中文说明:这个函数性能的OFDM调制之前的数据传输。
English Description:
This function performance the OFDM modulation before data transmission. function signal_tx = ofdm_modulate(data_tx, ifft_size, carriers, ... conj_carriers, carrier_count, symb_size, guard_time, fig) % symbols per carrier for this frame carrier_symb_count = ceil(length(data_tx)/carrier_count); % append zeros to data with a length not multiple of number of carriers if length(data_tx)/carrier_count ~= carrier_symb_count, padding = zeros(1, carrier_symb_count*carrier_count); padding(1:length(data_tx)) = data_tx; data_tx = padding; end