sysscale [control]
— Function File: retsys = sysscale (sys, outscale, inscale, outname, inname)

scale inputs/outputs of a system.

Inputs

sys
Structured system.
outscale
inscale
Constant matrices of appropriate dimension.
outname
inname
Lists of strings with the names of respectively outputs and inputs.

Output

retsys
resulting open loop system:
               -----------    -------    -----------
               u --->| inscale |--->| sys |--->| outscale |---> y
               -----------    -------    -----------
If the input names and output names (each a list of strings) are not given and the scaling matrices are not square, then default names will be given to the inputs and/or outputs.

A warning message is printed if outscale attempts to add continuous system outputs to discrete system outputs; otherwise yd is set appropriately in the returned value of sys.