Octave communications package

Bill via Help-octave <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
Hi,
  I have just signed up for the help forum. In running some of the 
examples from the comm doc I have gotten the following : 


1) Bose Chaudhuri Hocquenghem (BCH) block codes


octave:111> cdec = encode (bi2de (msg), n, k, "hamming/decimal")
error: fix: not defined for galois
error: called from
    bi2de at line 60 column 3
octave:111>


2)
  octave:113> pg = pgs(floor (rand () * (rows (pgs) + 1)),:)
error: pgs(0,_): subscripts must be either integers 1 to (2^31)-1 or logicals
octave:113>


3)
    gg = rsgenpoly (n, k, prim, b, s)
    msg = gf (floor (2^m * rand (17, k)), m, prim);
    noisy = code + [toeplitz([ones(1,17)], zeros(1,17)), zeros(17,238)];
      warning: toeplitz: column wins diagonal conflict
      arning: called from
    toeplitz at line 80 column 7
[dec, nerr] = rsdec (msg, n, k, b, s)
error: rsdec: coded message contains incorrect number of symbols

_______________________________________________________

Running Gnu Octave compiled on Raspberry Pi 3 B+ Debian(buster)
gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1)

Thanks, Bill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.