Communications Toolbox    

Exponential Format

This format uses the property that every nonzero element of GF(pm) can be expressed as Ac for some integer c between 0 and pm-2. Higher exponents are not needed, because the theory of Galois fields implies that every nonzero element of GF(pm) satisfies the equation xq-1 = 1 where q = pm.

The use of the exponential format is shown in the table below.

Element of GF(pm)
MATLAB Representation of the Element
0
-Inf
A0 = 1
0
A1
1


Aq-2 where q = pm
q-2

Although -Inf is the standard exponential representation of the zero element, all negative integers are equivalent to -Inf when used as input arguments in exponential format. This equivalence can be useful; for example, see the concise line of code at the end of the section Default Primitive Polynomials.


  Representing Elements of Galois Fields Polynomial Format