Scilab Function

balanc - matrix or pencil balancing

Calling Sequence

[Ab,X]=balanc(A)
[Eb,Ab,X,Y]=balanc(E,A)

Parameters

Description

Balance a square matrix to improve its condition number.

finds a similarity transformation X such that

has approximately equal row and column norms.

For matrix pencils,balancing is done for improving the generalized eigenvalue problem.

returns left and right transformations X and Y such that Eb=inv(X)*E*Y, Ab=inv(X)*A*Y

Remark

Examples

See Also