<< Chapter < Page | Chapter >> Page > |
%% Words to Bits (RECEIVER)
% ------------------------------------------------------------------------% Description: This module simply takes the demodulated words and expands
% them into a bit stream for ease of comparison.%
% Inputs: words - Group of bits% Outputs: bits - Bit streamfunction bits = w2b(words)
%%num_subcarriers = size(words,1); % Implicit number of subcarriers
bits_per_symbol = size(words,2); % Implicit bits per symboltotal_bits = bits_per_symbol*num_subcarriers; % Total number of bits
bits = zeros(1,total_bits);for n=1:num_subcarriersfor m=1:bits_per_symbol
bits((n-1)*bits_per_symbol+m) = words(n,m); % Separate one by oneend
endend
Notification Switch
Would you like to follow the 'Fully configurable ofdm sdr transceiver in labview' conversation and receive update notifications?