rx.asv
上传用户:m_sun_001
上传日期:2014-07-30
资源大小:1115k
文件大小:0k
- % 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