norm (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
norm (MathScript RT Module Function)
Owning Class: dynchar
Requires: Control Design and Simulation Module and MathScript RT Module
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. |
Details
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | Yes |
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Not characterized |
Examples
SysIn = tf([1], [1, 1])
[normval, w] = norm(SysIn, inf)