Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - English

Change language to:
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 Help >> Control Systems - CACSD > Linear Analysis > Controllability Observability > obs_gram

obs_gram

observability gramian

Syntax

Go=obs_gram(A,C [,dom])
Go=obs_gram(sl)

Arguments

A,C

real matrices (of appropriate dimensions)

dom

string ("d' or "c" (default value))

sl

syslin list

Description

Observability gramian of the pair (A,C) or linear system sl (syslin list). dom is the domain which can be

"c"

continuous system (default)

"d"

discrete system

Examples

A=-diag(1:3);C=rand(2,3);
Go=obs_gram(A,C,'c');     // <=> w=syslin('c',A,[],C); Go=obs_gram(w);
norm(Go*A+A'*Go+C'*C,1)
norm(lyap(A,-C'*C,'c')-Go,1)
A=A/4; Go=obs_gram(A,C,'d');    //discrete time case
norm(lyap(A,-C'*C,'d')-Go,1)

See also

Report an issue
<< dt_ility Controllability Observability obscont >>

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 Feb 12 19:26:48 CET 2018