Main Content
gftrunc
Minimize length of polynomial representation
Syntax
Description
c = gftrunc(a)
truncates a row vector,
a
, that gives the coefficients of a GF(p) polynomial in order of ascending
powers. If a
(k) = 0 whenever k > d + 1, the
polynomial has degree d. The row vector c
omits these high-order zeros and
thus has length d + 1.
Examples
Version History
Introduced before R2006a