FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Forum index » Science and Technology » Math
Hamming codes
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
jeffconner50@yahoo.com
science forum beginner


Joined: 11 Sep 2005
Posts: 12

PostPosted: Thu Jun 22, 2006 7:56 pm    Post subject: Hamming codes Reply with quote

Normally when I work on problems, I'm always given the Generator for a
binary or nonbinary hamming code or a Parity Check matrix. I was
wondering if, given that I know the length and dimension of the various
Hamming Codes, if it's possible to (somewhat easily?) construct each
code JUST knowing length and dimension of the code, given nothing else.
I have not seen anything about this one way or another.



Jeff
Back to top
William Rex Marshall
science forum beginner


Joined: 14 Jun 2005
Posts: 39

PostPosted: Thu Jun 22, 2006 9:34 pm    Post subject: Re: Hamming codes Reply with quote

<jeffconner50@yahoo.com> wrote in message
news:1151006210.792110.66580@i40g2000cwc.googlegroups.com...
Quote:
Normally when I work on problems, I'm always given the Generator for a
binary or nonbinary hamming code or a Parity Check matrix. I was
wondering if, given that I know the length and dimension of the various
Hamming Codes, if it's possible to (somewhat easily?) construct each
code JUST knowing length and dimension of the code, given nothing else.
I have not seen anything about this one way or another.



Jeff


hamming codes are "gold" codes or "perfect" codes (has greatest minimum
distance)
Back to top
perhje@gmail.com
science forum beginner


Joined: 22 Jun 2006
Posts: 1

PostPosted: Thu Jun 22, 2006 9:56 pm    Post subject: Re: Hamming codes Reply with quote

jeffconner50@yahoo.com skrev:

Quote:
I was wondering if, given that I know the length and dimension of the various
Hamming Codes, if it's possible to (somewhat easily?) construct each
code JUST knowing length and dimension of the code, given nothing else.

Absolutely. For example, in order to construct the parity matrix H for
the (7,4) Hamming code, we simply set H = [a1, a2, a3, a4, a5, a6, a7]
where a1 is the binary representation of 1 (as a column vectory), a2 is
the binary representation of 2 etc. Following this procedure, we obtain
that
H = [[0 0 1]^T [0 1 0]^T [0 1 1]^T [1 0 0]^T [1 0 1]^T [1 1 0]^T [1 1
1]^T]
or (a less messy version)
H = [ 0 0 0 1 1 1 1
0 1 1 0 0 1 1
1 0 1 0 1 0 1]

HTH,
Per
Back to top
jeffconner50@yahoo.com
science forum beginner


Joined: 11 Sep 2005
Posts: 12

PostPosted: Thu Jun 22, 2006 10:23 pm    Post subject: Re: Hamming codes Reply with quote

perhje@gmail.com 작성:

Quote:
jeffconner50@yahoo.com skrev:

I was wondering if, given that I know the length and dimension of the various
Hamming Codes, if it's possible to (somewhat easily?) construct each
code JUST knowing length and dimension of the code, given nothing else.

Absolutely. For example, in order to construct the parity matrix H for
the (7,4) Hamming code, we simply set H = [a1, a2, a3, a4, a5, a6, a7]
where a1 is the binary representation of 1 (as a column vectory), a2 is
the binary representation of 2 etc. Following this procedure, we obtain
that
H = [[0 0 1]^T [0 1 0]^T [0 1 1]^T [1 0 0]^T [1 0 1]^T [1 1 0]^T [1 1
1]^T]
or (a less messy version)
H = [ 0 0 0 1 1 1 1
0 1 1 0 0 1 1
1 0 1 0 1 0 1]

HTH,
Per

Per,

That's really clever. How about for the non-binary hamming codes, like
the Ternary codes. I can't imagine there is anything as easy as that
but is there another way?

Jeff
Back to top
hoz
science forum beginner


Joined: 23 Jun 2006
Posts: 1

PostPosted: Fri Jun 23, 2006 12:13 am    Post subject: Re: Hamming codes Reply with quote

This is a generalisation of the binary case.
The Hamming code of length n=(q^r-1)/(q-1) over the field GF(q) has an
rxn parity check matrix whose columns are all the non-zero r-tuples
from GF(q) with first non-zero entry equal to 1.
It can also be defined as a cyclic code as in the binary case.

(See, for example, the book by MacWilliams and Sloane which has more of
this stuff than you can poke a stick at).
Cheers
Gaz


jeffconner50@yahoo.com wrote:
Quote:

That's really clever. How about for the non-binary hamming codes, like
the Ternary codes. I can't imagine there is anything as easy as that
but is there another way?

Jeff
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Sat Jan 10, 2009 1:38 am | All times are GMT
Forum index » Science and Technology » Math
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Anybody have PENELOPE codes ? Xufei.Wang@gmail.com Particle 0 Wed Jul 19, 2006 3:39 pm
No new posts Regarding Generator Matrices of MDS c... jaco.versfeld@gmail.com Math 1 Wed Jul 19, 2006 1:10 pm
No new posts Golay codes PaulHjelmstad Math 3 Fri Jul 14, 2006 5:23 pm
No new posts Codes and Symndromes jeffconner50@yahoo.com Math 0 Thu Jun 22, 2006 7:59 pm
No new posts nonlinear, volumetric locking-free H1... Benjamin num-analysis 0 Fri Jun 09, 2006 2:02 pm

Credit Cards | Internet Advertising | Credit Counseling | Bad Credit Mortgages | W810i
Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Electronics forum |  Medicine forum |  Unix/Linux blog |  Unix/Linux documentation |  Unix/Linux forums


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2107s ][ Queries: 16 (0.0905s) ][ GZIP on - Debug on ]