I'm currently working with BCH codes yet, since September, and after having solved my initial problems I receive a new error if i try to encode a word of length ~ 2^18 I receive:
error: invalid order 18 for Galois Field To give evidence of the fact I can post an example: let's assume that the matrix called "poly" contains a set of primitive polynomials of grade 18 (generated with primpoly(18,"all")), I tahe the first one and i try to find a valid generator polynomial fora BCH code using bchpoly. So I have: octave:6> de2bi(poly(1)) ans = 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 octave:7> p=bchpoly(262128,261960,de2bi(poly(1))); error: invalid order 18 for Galois Field error: unable to initialize Galois Field error: invalid order 18 for Galois Field error: unable to initialize Galois Field And the same thing happens if I try a bchpoly(262128) or a bchpoly(2^18 - 1) that is a different number... So I'm quite stuck there...Is there a way to solve this "problem"? This is a sort of limit imposed by bchpoly function (and bchenco of course) since primpoly let me generate primitive polynomials of grade > 16 till grade = 22 if I remember well... bchpoly seems to refuse polynomials with grade >= 18. Thanks a lot Marco
signature.asc
Description: PGP signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev