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

Change language to:
English - Français - 日本語 - Português -

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Справка Scilab >> CACSD > syssize

syssize

size of state-space system

Calling Sequence

[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 — размер объекта
Report an issue
<< sysfact CACSD time_id >>

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:
Fri Apr 11 14:19:38 CEST 2014