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

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

Справка Scilab >> CACSD > Model Transformation > equil

# equil

balancing of pair of symmetric matrices

### Syntax

`T=equil(P,Q)`

### Arguments

P, Q

two positive definite symmetric matrices

T

nonsingular matrix

### Description

`equil` returns `t` such that:

`T*P*T'` and `inv(T)'*Q*inv(T)` are both equal to a same diagonal and positive matrix.

### Examples

```P=rand(4,4);P=P*P';
Q=rand(4,4);Q=Q*Q';
T=equil(P,Q)
clean(T*P*T')
clean(inv(T)'*Q*inv(T))```

### See also

• equil1 — balancing (nonnegative) pair of matrices
• balanc — matrix or pencil balancing
• ctr_gram — controllability gramian
 Report an issue << dscr Model Transformation equil1 >>

 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 Feb 12 20:08:36 CET 2018