minreal (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

minreal (Control Design and Simulation Module, MathScript Function)

Member of the reduce class.

Syntax

SysMin = minreal(SysIn)

SysMin = minreal(SysIn, tol)

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.

Examples

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

Related Topics

balreal
modred
sminreal