LabVIEW Control Design and Simulation Module

minimal (MathScript RT Module Function)

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

minimal (MathScript RT Module Function)

Owning Class: reduce

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

SysMin = minimal(SysIn)

SysMin = minimal(SysIn, tol)

Legacy Name: minreal

Description

Returns the minimal realization of a system model. For state-space models, a minimal realization removes all uncontrollable and unobservable states. For transfer function and zero-pole-gain models, a minimal realization cancels all matching zero-pole pairs.

Examples

Inputs

Name Description
SysIn Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form.
tol Specifies the threshold this function uses to determine the modes to eliminate. For state-space models, tol specifies the controllability and observability thresholds. For transfer function and zero-pole-gain models, tol specifies zero-pole cancellation closeness. The default is 1E-12. tol is a real scalar.

Outputs

Name Description
SysMin Returns the minimal realization of the SysIn model. SysMin is an LTI model in transfer function, zero-pole-gain, or state-space form.

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

z = 1
p = [1, -1]
k = 1
SysIn = zpk(z, p, k)
SysMin = minimal(SysIn)

Related Topics

balance_grammian
mreduce
minimal_state