Equalize lengths of transfer function's numerator and denominator
[b,a] modifies the
num and/or the vector
so that the resulting output vectors
the same length. The input vectors
have different lengths. The vector
the numerator polynomial of a given discrete-time transfer function,
and the vector
den represents its denominator.
The resulting numerator
b and denominator
the same discrete-time transfer function, but these vectors have the
[b,a,n,m] modifies the
vectors as above and also returns the numerator order
m, not including any trailing zeros.
num = [1 0.5]; den = [1 0.75 0.6 0]; [b,a,n,m] = eqtflength(num,den);