Getting Started    

Sending Signal and Error Data to the Workspace

To analyze the error correction performance of the Hamming code, you can send the transmitted signal, the received signal, and the error vectors, created by the Binary Symmetric Channel block, to the workspace. An example of this is shown in the following figure.

Sending Signal and Error Data to the Workspace

You can build this model from the one shown in the figure Hamming Code Model. To build the model, follow these steps:

  1. Type hammingdoc to open the model.
  2. Double-click the Binary Symmetric Channel block to open its mask, and check the box next to Output error vector. This creates an output port for the error data.
  3. Drag three Signal To Workspace blocks from the DSP Sinks library into the model window and connect them as shown in the preceding figure.
  4. Double-click the left Signal To Workspace block.
  5. Double-click the middle Signal To Workspace block:
  6. Double-click the right Signal To Workspace block:

  Viewing the Error Rate Data in the Workspace Viewing the Signal and Error Data in the Workspace