Main Content
gfprimdf
Provide default primitive polynomials for Galois field
Syntax
pol = gfprimdf(m)
pol = gfprimdf(m,p)
Description
Note
This function performs computations in GF(pm), where p is prime.
To work in GF(2m), use the primpoly
function. For
details, see Finding Primitive Polynomials in Primitive Polynomials and Element Representations.
pol = gfprimdf(m)
outputs
the default primitive polynomial pol
in GF(2m).
pol = gfprimdf(m,p)
returns
the row vector that gives the coefficients, in order of ascending
powers, of the default primitive polynomial for GF(pm). m
is
a positive integer and p
is a prime number.
Examples
Version History
Introduced before R2006a