So you are telling me that my problem can't be solved. I confirm that
Matlab has this limitation too.

I have to work with codewords whose length is less than 2^16, so at the
beginning I thought that I could use them with the functions but I were
wrong. The codes I'm trying to obtain are shortened versions of
"mother" codes whose length is ~ 2^18 and 2^20. So I can encode them
(not using "mother" n,k value but the shortened one) with a suitable
generator polynomial but I can't decode them since if I try to use a
primitive of grade 18 (or 20) i receive that error. If I try any of the
primitive of grade 16 (as I said the codewords have lrngth < 16) I
can't correct any error...

Hope to have explained well my situation..Is there any
possibile solution?

And last question: what's the meaning of creating primitive
polyonomials of grade <= 22 (the limitation of primpoly) if I can't use
a primitive polynomial of grade > 16 for a galois field limit hard
coded?

Thanks

Marco

Il giorno Sat, 29 Nov 2008 22:22:07 +0100
[EMAIL PROTECTED] ha scritto:

> On Sat, Nov 29, 2008 at 09:28:50PM +0100, Marco Maso wrote:
> > 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:
> 
> The galois field code is hard coded not to allow anything above 
> GF(2^16). Some the tables and code becomes pretty slow after that. I 
> believe Matlab has the same limitation, or at least it didn't when I 
> wrote this stuff.
> 
> D.


-- 
Per favore non mandatemi allegati in Word o PowerPoint.
Si veda http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: 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

Reply via email to