Scilab-Branch-6.1-GIT
- Scilab Help
- Control Systems - CACSD
- Linear System Representation
- abcd
- arma
- arma2p
- arma2ss
- armac
- bloc2ss
- cont_frm
- des2ss
- des2tf
- frep2tf
- lsslist
- markp2ss
- pfss
- pol2des
- sm2des
- sm2ss
- ss2des
- ss2ss
- ss2tf
- ss2zp
- ssprint
- ssrand
- sysconv
- sysdiag
- syslin
- syssize
- systmat
- tf2des
- tf2ss
- tf2zp
- trfmod
- zp2ss
- zp2tf
- zpk
- zpk2ss
- zpk2tf
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
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") sys = (s-2) (s-1) 2.5 ------------- s (s^2+6s+10) --> typeof(sys) ans = "zpk" --> S = zpk2ss(sys) S = S(1) (state-space system:) "lss" "A" "B" "C" "D" "X0" "dt" S(2)= A matrix = 0. 1. -0.3162278 0. -6. -3.1622777 0. 3.1622777 0. S(3)= B matrix = 0. 1. 0. S(4)= C matrix = -5. 2.5 -0.7905694 S(5)= D matrix = 0. S(6)= X0 (initial state) = 0. 0. 0. S(7)= Time domain = "c" --> typeof(S) ans = "state-space"
History
Version | Description |
6.0 | Function added. |
Report an issue | ||
<< zpk | Linear System Representation | zpk2tf >> |