ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

Example Code

Archived: RF Simulation Demo: Channel Coding

Code and Documents

Attachment

Overview


This document has been archived and is no longer updated by National Instruments.

Channel coding is the technique of processing the original data in such a way that it can recover from noise in the channel. The best channel coding methods create data streams that approach the Shannon limit of the channel with minimal error probabilities. This decreased error probability for a given rate less than the Shannon limit comes at the expense of coding complexity at the transmitter and decoding at the receiver. Alternatively, relatively simple codes can achieve vanishingly small error probabilities by consuming large amounts of bandwidth. The code rate of any channel coding technique, denoted Rc, is the ratio of pre-coded, k, to post-coded, n, data lengths, or Rc = k/n. It is less than one for simple, inefficient coding techniques, and approaches 1 for more efficient codes.

Exercise

Download the attached file and open the Channel_Coding_Golay VI.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors