Scilab 5.3.1
- Aide Scilab
- Algèbre Lineaire
- bdiag
- chfact
- chol
- chsolve
- cmb_lin
- coff
- colcomp
- companion
- cond
- det
- expm
- fullrf
- fullrfk
- givens
- glever
- gspec
- hess
- householder
- inv
- kernel
- linsolve
- lu
- lyap
- nlev
- orth
- pbig
- pinv
- polar
- proj
- qr
- range
- rank
- rcond
- rowcomp
- spec
- sqroot
- squeeze
- sva
- svd
- trace
- aff2ab
- balanc
- classmarkov
- eigenmarkov
- ereduc
- fstair
- genmarkov
- gschur
- im_inv
- kroneck
- lsq
- pencan
- penlaur
- projspec
- psmall
- quaskro
- randpencil
- rankqr
- rowshuff
- rref
- schur
- spaninter
- spanplus
- spantwo
- sylv
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
balanc
matrix or pencil balancing
Calling Sequence
[Ab,X]=balanc(A) [Eb,Ab,X,Y]=balanc(E,A)
Arguments
- A:
a real square matrix
- X:
a real square invertible matrix
- E:
a real square matrix (same dimension as
A
)- Y:
a real square invertible matrix.
Description
Balance a square matrix to improve its condition number.
[Ab,X] = balanc(A)
finds a similarity transformation
X
such that
Ab = inv(X)*A*X
has approximately equal row and column norms.
For matrix pencils,balancing is done for improving the generalized eigenvalue problem.
[Eb,Ab,X,Y] = balanc(E,A)
returns left and right transformations X
and Y
such that Eb=inv(X)*E*Y, Ab=inv(X)*A*Y
Remark
Balancing is made in the functions bdiag
and spec
.
Examples
See Also
<< aff2ab | Algèbre Lineaire | classmarkov >> |