Diff of /inst/convenc.m [ec7c13] .. [4b427b]  Maximize  Restore

Switch to unified view

a/inst/convenc.m b/inst/convenc.m
...
...
82
82
83
  ## FIXME: Implement output puncturing
83
  ## FIXME: Implement output puncturing
84
84
85
  for idx = 1:k:numel (msg)
85
  for idx = 1:k:numel (msg)
86
    in_sym = bi2de (msg(idx:idx+k-1), "left-msb");
86
    in_sym = bi2de (msg(idx:idx+k-1), "left-msb");
87
    out_sym = t.outputs(state+1,in_sym+1);
87
    out_sym = oct2dec (t.outputs(state+1,in_sym+1));
88
    state = t.nextStates(state+1,in_sym+1);
88
    state = t.nextStates(state+1,in_sym+1);
89
    out_bits = de2bi (out_sym, n, "left-msb");
89
    out_bits = de2bi (out_sym, n, "left-msb");
90
    y = [y out_bits];
90
    y = [y out_bits];
91
  endfor
91
  endfor
92
92

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks