Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - English


casc

cascade realization of filter from coefficients (utility function)

Syntax

cels = casc(x)
cels = casc(x, vname)

Arguments

x

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

vname

string: the name of the cascade variable ("z" if not specified)

cels

resulting cascade representation

Description

Creates cascade realization of filter from a matrix of coefficients (utility function).

Examples

x = [1 2 3 ; 4 5 6 ; 7 8 9 ; 10 11 12]
c = casc(x, 's')
--> 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

See Also

  • rlist — Scilab rational fraction function definition
Report an issue
<< buttmag Filters cheb1mag >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jun 17 17:49:16 CEST 2024