FUNCTION REFERENCE

eqtflength

Equalize the lengths of two transfer-function coefficient vectors.

Equalize the lengths of two transfer-function coefficient vectors.

Syntax

[b, a] = eqtflength(num, den)

Returns row vectors after padding the shorter input on the right and discarding trailing coefficients that are zero in both vectors. Accepts real or complex double vectors.

Example

[b, a] = eqtflength([1 2], [1 2 3 0])   % b = [1 2 0], a = [1 2 3]

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.