ndims (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

ndims (Control Design and Simulation Module, MathScript Function)

Member of the info class.

Syntax

dim = ndims(SysIn)

Description

Calculates the number of dimensions of a system model. The number of dimensions also is the order of the model.

Examples

Inputs

Name Description
SysIn Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form.

Outputs

Name Description
dim Returns the number of dimensions of the SysIn model. dim is an integer scalar.

Examples

A = [-1, 0.1; 0.2, -2]B = [0; 1]
C = [1, 0]
D = 0
SysIn = ss(A, B, C, D)
dim = ndims(SysIn)

Related Topics

ss
tf
zpk