BALANCE

 

 Diagonal scaling to improve eigenvalue accuracy.

  [T,B] = BALANCE(A) finds a similarity transformation T such

  that B = T\A*T has approximately equal row and column norms.

  BALANCE(A), by itself, returns the balanced matrix B.