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

Change language to:
English - Français - 日本語 - Русский

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

Ajuda do Scilab >> CACSD > Linear System Representation > abcd

abcd

state-space matrices

Syntax

[A,B,C,D] = abcd(sl)

Arguments

sl

linear system (syslin list) in state-space or transfer form

A,B,C,D

real matrices of appropriate dimensions

Description

returns the A,B,C,D matrices from a linear system Sl.

Utility function. For transfer matrices Sl is converted into state-space form by tf2ss.

The matrices A,B,C,D are the elements 2 to 5 of the syslin list Sl, i.e. [A,B,C,D] = Sl(2:5) .

Examples

A=diag([1,2,3]);B=[1;1;1];C=[2,2,2];
sys=syslin('c',A,B,C);
sys("A")
sys("C")
[A1,B1,C1,D1]=abcd(sys);
A1
systf=ss2tf(sys);
[a,b,c,d]=abcd(systf)
spec(a)
c*b-C*B
c*a*b-C*A*B

See also

  • syslin — definição de sistemas lineares
  • ssrand — gerador de sistema randômico
Report an issue
<< Linear System Representation Linear System Representation arma >>

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:
Tue Feb 25 08:52:29 CET 2020