bandwidth (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
bandwidth (MathScript RT Module Function)
Owning Class: frqrsp
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
band = bandwidth(SysInSISO)
band = bandwidth(SysInSISO, magdrop)
Description
Calculates the bandwidth of a single-input single-output (SISO) system model. The bandwidth is the frequency, relative to the DC gain, at which the frequency response magnitude of the model drops below a threshold value you specify.
Inputs
| Name | Description |
|---|---|
| SysInSISO | Specifies a linear time-invariant (LTI) SISO model. SysInSISO is a model in transfer function, zero-pole-gain, or state-space form. |
| magdrop | Specifies the magnitude drop threshold, in decibels (dB). The default value is -3 dB. magdrop is a real scalar. |
Outputs
| Name | Description |
|---|---|
| band | Returns the bandwidth of the SysInSISO model. The bandwidth is the frequency, relative to the DC gain, at which the frequency response magnitude drops below the value of magdrop. band 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
SysInSISO = tf([1], [1, 1])
magdrop = -2
band_2DB = bandwidth(SysInSISO, magdrop)