cascade realization of filter from coefficients (utility function)
cels = casc(x) cels = casc(x, vname)
(4xN)-matrix where each column is a cascade element, the first two rows values being the numerators coefficients, and the last two rows values being the denominator coefficients.
string: the name of the cascade variable ("z" if not specified)
resulting cascade representation
Creates cascade realization of filter from a matrix of coefficients (utility function).
--> x = [1 2 3 ; 4 5 6 ; 7 8 9 ; 10 11 12] x = 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. --> c = casc(x, 's') c = 2 2 2 1 + 4s + s 2 + 5s + s 3 + 6s + s ------------ ------------ ------------ 2 2 2 7 + 10s + s 8 + 11s + s 9 + 12s + s