# balance

Version:

Balances a matrix to improve the accuracy of eigenvalues and eigenvectors that you compute.

## Syntax

b = balance(a)
b = balance(a, 'noperm')
[t, b] = balance(a)
[t, b] = balance(a, 'noperm')

Matrix.

## 'noperm'

Determines that the matrix will not be permuted.

## t

Permutation of the diagonal matrix.

## b

Balanced matrix a such that the column and row norms are approximately the same.

## Calculation Equation

MathScript computes balance(a) using the following equation: b = t\a*t.

A = [1000, 1000; 0.001, 1]
[T, B] = balance(A)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices