NGMV Control Toolbox Previous page   Next Page
trimz

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].

If A0 is a cell array of polynomials, the function performs the truncations on each element.

See also

orderz, trimc

Previous page   trimc     Next page