<< Chapter < Page Chapter >> Page >
The fairly trivial operation of converting a set of bits to a set of words. NOTE: The MATLAB library was used in the initial version of the design but has since been replaced by an updated LabVIEW module. Please see the LabVIEW portion of the transmitter for the most current version.

%% Bits to Words function words = b2w(bits, bits_per_symbol)%% num_subcarriers = size(bits,2)/bits_per_symbol;words = zeros(num_subcarriers, bits_per_symbol); for n=1:num_subcarrierswords(n,1:bits_per_symbol) = bits((n-1)*bits_per_symbol+1:(n-1)*(bits_per_symbol)+bits_per_symbol); endend

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Fully configurable ofdm sdr transceiver in labview. OpenStax CNX. May 04, 2010 Download for free at http://cnx.org/content/col11182/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fully configurable ofdm sdr transceiver in labview' conversation and receive update notifications?

Ask