Communications Toolbox    
gfpretty

Display a polynomial in traditional format

Syntax

Description

gfpretty(a) displays a polynomial in a traditional format, using X as the variable and the entries of the row vector a as the coefficients in order of ascending powers. The polynomial is displayed in order of ascending powers. Terms having a zero coefficient are not displayed.

gfpretty(a,st) is the same as the first syntax listed, except that the content of the string st is used as the variable instead of X.

gfpretty(a,st,n) is the same as the first syntax listed, except that the content of the string st is used as the variable instead of X, and each line of the display has width n instead of the default value of 79.

Examples

The code below displays statements about the elements of GF(81).

Below is a sample of the output.

See Also
gftuple, gfprimdf


  gfmul gfprimck