norm (Control Design and Simulation Module, MathScript Function)
Member of the dynchar class.
Syntax
normval = norm(SysIn)
normval = norm(SysIn, type)
[normval, w] = norm(SysIn)
[normval, w] = norm(SysIn, type)
Description
Calculates the H-infinity or the H-2 norm of a system model.
Inputs
Name | Description | ||||
SysIn | Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form. | ||||
type | Specifies the type of norm you want to calculate. type is an integer that can take the following values:
|
Outputs
Name | Description |
normval | Returns the H-infinity or H-2 norm of the SysIn model, depending on the value you specify for the type input. The 2-norm is infinite for unstable models and for state-space models whose D matrix does not equal zero. normval is a real scalar. |
w | Returns the frequency, in radians per second, at which this function evaluates the H-infinity norm. This output is undefined if you calculate the H-2 norm of the model. freq is a real scalar. |
Examples
SysIn = tf([1], [1, 1])
[normval, w] = norm(SysIn, inf)