Re: Octave communications package
Doug Stewart <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <CAAohRsaep6vTpMfqxDAz53aUk7g_bs-sJi5nZDLkrwPBE+5=Ug@mail.gmail.com> |
On Sat, Aug 29, 2020 at 3:02 PM Bill via Help-octave <[email protected]> wrote: > 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 > > > What version of Octave are you using? -- DAS[image: Certificate for 206392] <https://linuxcounter.net/user/206392.html>