rx.m
来自「OFDM仿真平台。包括了OFDM调制和QAM调制的比较。修改了文档中代码的错误」· M 代码 · 共 20 行
M
20 行
% rx
disp('Receiving')
rx_chunk
% perform fft to recover original data from time domain sets
recv_spaced_chunks = zeros(num_chunks,fft_size);
for i = 1:num_chunks
recv_spaced_chunks(i,1:fft_size) = fft(recv_td_sets(i,1:fft_size));
% Note: 'round()' gets rid of small numerical error in Matlab but a threshold will be needed for a practical system
% 2001-4-17 -- Got rid of 'round()' to do decoding more intelligently
end
rx_dechunk
output = pol2bin(output); % Converts polar to binary
write
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?