Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語 -
Справка Scilab >> CACSD > Linear System Representation > zpk2tf

zpk2tf

Zero pole gain to transfer function

Syntax

S = zpk2tf(sys)

Arguments

sys

A linear dynamical system in zero-pole-gain representation (see zpk).

S

The rational transfer function representation of sys.

Description

Converts a zero pole gain representation to rational transfer function

Examples

sys = zpk([2;1], [0;-3-%i;-3+%i], 2.5, "c")
typeof(sys)

S = zpk2tf(sys)
typeof(S)
--> sys = zpk([2;1], [0;-3-%i;-3+%i], 2.5, "c")
 sys  =
        (s-2) (s-1)
   2.5 -------------
       s (s^2+6s+10)

--> typeof(sys)
 ans  =
  "zpk"

--> S = zpk2tf(sys)
 S  =

   5 -7.5s +2.5s²
   --------------
    10s +6s² +s³

--> typeof(S)
 ans  =
  "rational"

See Also

  • zp2tf — Zero pole gain to transfer function
  • zpk2ss — Zero pole gain to state space

History

VersionDescription
6.0

Function added.

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 25 08:54:56 CET 2020