| NGMV Control Toolbox | ![]() |
Removes trailing zeros from a discrete-time polynomial.
Syntax
Description
A = TRIMZ(A0) truncates a discrete-time polynomial A0 in
by removing its trailing zeros, eg TRIMZ([0 1 2 3 0 0]) returns [0 1 2 3].
A0 is a cell array of polynomials, the function performs the truncations on each element.
|
trimc | ![]() |