Example: Representing Elements of GF(8)

To illustrate what the array elements in a Galois array mean, the table below lists the elements of the field GF(8) as integers and as polynomials in a primitive element, A. The table should help you interpret a Galois array like

gf8 = gf([0:7],3); % Galois vector in GF(2^3)

Integer RepresentationBinary RepresentationElement of GF(8)
0 000 0
1 001 1
2 010 A
3 011 A + 1
4 100 A2
5 101 A2 + 1
6 110 A2 + A
7 111 A2 + A + 1


© 1994-2005 The MathWorks, Inc.