TableOfReal: Centre columns

A command that centres the columns in the selected TableOfReal objects.

Algorithm

The new values in the table, x′ij, will be:

x′ij = xij – x·j,

where

x·j = ∑i=1..numberOfRows xij / numberOfRows,

the average of column j.


© djmw 19980422