Home   >   User Resources   >   Online Help   >   apaMatrix.Scale.Cols
 

 

Function index Version 3.0.0

apaMatrix.Scale.Cols(Matrix, Target, IsSignedValsOtherwiseAbs)

Excel=apaMatrix.Scale.Cols(Matrix, Target, IsSignedValsOtherwiseAbs)

Result

Scales the columns of a matrix such that their sums are all equal to a target value.

Syntax

Matrix: nRows x nCols matrix of data

Target: target to which the scaled values add up

IsSignedValsOtherwiseAbs: TRUE to use the signed values, FALSE to use the absolute values