Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.1.0 - Português


syssize

size of state-space system

Syntax

[r, nx] = syssize(Sl)

Arguments

Sl

linear system (syslin list) in state-space

r

1 x 2 real vector

nx

integer

Description

returns in r the vector [number of outputs, number of inputs] of the linear system Sl. nx is the number of states of Sl.

Examples

a=[-2.2567e-02  -36.617  -18.897  -32.090  3.2509  -7.6257e-1;
  9.2572e-05  -1.8997  9.8312e-01  -7.2562e-04  -1.7080e-01  -4.9652e-03;
    1.2338e-02  11.720  -2.6316  8.7582e-04  -31.604  22.396;
    0           0        1       0            0       0  ;
    0           0        0       0           -30      0  ;
    0           0        0       0            0      -30  ];

b=0*ones(6,2);
b(5,1)=30;
b(6,2)=30;
c=0*ones(2,6);
c(1,2)=1;
c(2,4)=1;
G=syslin('c',a,b,c);
r=syssize(G)

See also

  • size — tamanho de objetos
Report an issue
<< syslin Linear System Representation systmat >>

Copyright (c) 2022-2023 (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 May 22 12:42:13 CEST 2023