Categories &

Functions List

Function Reference: @lti/prescale

Function File: [scaledsys, info] = prescale (sys)

Scale state-space model. The scaled model scaledsys is equivalent to sys, but the state vector is scaled by diagonal transformation matrices in order to increase the accuracy of subsequent numerical computations. Frequency response commands perform automatic scaling unless model property scaled is set to true.

Inputs

sys

LTI model.

Outputs

scaledsys

Scaled state-space model.

info

Structure containing additional information.

info.SL

Left scaling factors. Tl = diag (info.SL).

info.SR

Right scaling factors. Tr = diag (info.SR).

Equations $$ E_s = T_l\,E\,T_r \\ A_s = T_l\,A\,T_r \\ B_s = T_l\,B \\ C_s = C\,T_r \\ D_s = D $$

For proper state-space models, Tl and Tr are inverse of each other.

Algorithm
Uses SLICOT TB01ID and TG01AD, Copyright (c) 2020, SLICOT, available under the BSD 3-Clause (License and Disclaimer).

Source Code: @lti/prescale