balreal - Balanced realization (original) (raw)

Scilab 5.3.3

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

Scilab help >> CACSD > balreal

Calling Sequence

[slb [,U] ] = balreal(sl)

Arguments

sl,slb

linear systems (syslin lists)

Description

Balanced realization of linear system sl=[A,B,C,D]. sl can be a continuous-time or discrete-time state-space system. sl is assumed stable.

slb=[inv(U)AU ,inv(U)B , CU , D]

is the balanced realization.

slb is returned as a syslin list.

Examples

A=diag([-1,-2,-3,-4,-5]);B=rand(5,2);C=rand(1,5); sl=syslin('c',A,B,C); [slb,U]=balreal(sl); Wc=clean(ctr_gram(slb)) W0=clean(obs_gram(slb))

See Also