gfminpol

Find minimal polynomial of a Galois field element

Syntax

pol = gfminpol(k,m,p)
pol = gfminpol(k,prim_poly,p)

Description

pol = gfminpol(k,m,p) finds the minimal polynomial of Ak over GF(p), where p is a prime number, m is an integer greater than 1, and A is a root of the default primitive polynomial for GF(p^m). The format of the output is as follows:

pol = gfminpol(k,prim_poly,p) is the same as the first syntax listed, except that A is a root of the primitive polynomial for GF(pm) specified by prim_poly. prim_poly is a row vector that gives the coefficients of the degree-m primitive polynomial in order of ascending powers.

Examples

The syntax gfminpol(k,m,p) is used in the sample code in Characterization of Polynomials.

See Also

gfprimdf, gfcosets, gfroots, Galois Fields of Odd Characteristic


© 1994-2005 The MathWorks, Inc.