Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Русский


zpk2ss

Zero pole gain to state space

Syntax

S = zpk2ss(sys)

Arguments

sys

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

S

The state space representation of sys.

Description

Converts a zero pole gain representation to state space.

Examples

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

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

 sys = [zpk]

        (s-2) (s-1)  
   2.5 ------------- 
       s (s^2+6s+10) 


--> typeof(sys)

 ans = 

  "zpk"

--> 

--> S = zpk2ss(sys)

 S = [state-space]

  A (matrix) = [0,1,-0.3162278;0,-6,-3.1622777;0,3.1622777,0]
  B (matrix) = [0;1;0]
  C (matrix) = [-5,2.5,-0.7905694]
  D (matrix) = 0
  X0 (initial state) = [0;0;0]
  dt (time domain) = "c"

--> typeof(S)

 ans = 

  "state-space"

See Also

  • zp2ss — Zero pole gain to state space
  • zpk2tf — Zero pole gain to transfer function

History

ВерсияОписание
6.0

Function added.

Report an issue
<< zpk Linear System Representation zpk2tf >>

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:55:06 CEST 2024