damp (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
damp (MathScript RT Module Function)
Owning Class: dynchar
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
[dr, wn, p] = damp(SysIn)
Description
Returns the damping ratios and natural frequencies of the poles 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. |
Outputs
| Name | Description |
|---|---|
| dr | Returns the damping ratio of each pole of the SysIn model. The n-th element of this vector corresponds to the n-th element of the wn and p vectors. dr is a real vector. |
| wn | Returns the natural frequency of each pole of the SysIn model. The n-th element of this vector corresponds to the n-th element of the dr and p vectors. wn is a real vector. |
| p | Returns the poles of the SysIn model. The n-th element of this vector corresponds to the n-th element of the dr and wn vectors. p is a complex vector. |
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, 2, 1])
[dr, wn, p] = damp(SysIn)