exAR.m
Upload User: hwtw888
Upload Date: 2016-03-15
Package Size: 177k
Code Size: 0k
Development Platform:

Matlab

  1. clear all
  2. clc
  3. format long;
  4. symbol = ['abcd'];
  5. pr = [0.1 0.4 0.2 0.3];
  6. seqin = ['cadacdb'];
  7. codeword = arencode(symbol, pr, seqin)
  8. seqout = ardecode(symbol, pr, codeword, 7)