LabVIEW Control Design and Simulation Module

freqresp (MathScript RT Module Function)

  • Updated2023-03-14
  • 1 minute(s) read

freqresp (MathScript RT Module Function)

Owning Class: frqrsp

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

Gw = freqresp(SysIn)

Gw = freqresp(SysIn, w)

Description

Calculates the magnitude and phase of a system model at a frequency you specify.

Examples

Inputs

Name Description
SysIn Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form.
w Specifies the frequency, in radians per second, at which this function evaluates the magnitude and phase of the SysIn model. The default value is 0. w is a real scalar.

Outputs

Name Description
Gw Returns the magnitude and phase of the SysIn model at frequency w. Gw is a complex matrix.

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 = ss(-1, 1, 1, 0)
Gw = freqresp(SysIn, 2)

Related Topics

evalfreq