| Communications Toolbox | ![]() |
Provide default primitive polynomials for a Galois field
Syntax
Description
Note
This function performs computations in GF(pm) where p is odd. To work in GF(2m), use the primpoly function. For details, see Finding Primitive Polynomials.
|
pol = gfprimdf(m,p)
returns the row vector that gives the coefficients, in order of ascending powers, of the default primitive polynomial for GF(p^m). m is a positive integer and p is a prime number.
Examples
The command below shows that 2 + x + x2 is the default primitive polynomial for GF(52).
The code below displays the default primitive polynomial for each of the fields GF(3m), where m ranges between 3 and 5.
See Also
gfprimck, gfprimfd, gftuple, gfminpol
| gfprimck | gfprimfd | ![]() |