Mu Analysis and Synthesis Toolbox    
mscl, sclin, sclout

Scale CONSTANT, SYSTEM and VARYING matrices

Syntax

Description
The mscl command scales the individual elements of a CONSTANT or VARYING matrix by the scalar fac. mscl produces a CONSTANT (VARYING) matrix, matout, given matin is a CONSTANT (VARYING) matrix, and fac is a scalar. When the output matrix, matout, is VARYING, it has the same independent variable values as matin, and is equal to matin multiplied by the scalar value fac. If matin is a SYSTEM matrix, then mscl produces a SYSTEM matrix, matout, in which the A and C matrices of matin are unchanged, and the B and D matrices have been scaled by fac. fac must be a scalar.

The command sclin scales the input channels to the matrix matin (which can be a CONSTANT, SYSTEM or VARYING matrix) defined by the variable inputs. inputs is a vector of integers, which selects the inputs channels (columns) to be scaled by fac. The command sclout performs the similar scaling on the outputs (or rows). fac can be a scalar, single-input/single-output (SISO) SYSTEM or a VARYING, 1 x 1, matrix. If matin and fac are both VARYING matrices, they must have the same independent variables to be used with sclin and sclout. The following options can be performed using sclin and sclout:

Examples
mscl scales the three input, two output VARYING matrix, matin, by -2.5.

Use the sclin command to scale the first input of a SYSTEM matrix by -3.

See Also
*, mmult, scliv, and sel



msf, msfbatch mu, muunwrap, randel, unwrapd, unwrapp