Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

order

Query model order

Syntax

NS = order(sys)

Description

NS = order(sys) returns the model order NS. The order of a dynamic system model is the number of poles (for proper transfer functions) or the number of states (for state-space models). For improper transfer functions, the order is defined as the minimum number of states needed to build an equivalent state-space model (ignoring pole/zero cancellations).

order(sys) is an overloaded method that accepts SS, TF, and ZPK models. For LTI arrays, NS is an array of the same size listing the orders of each model in sys.

Caveat

order does not attempt to find minimal realizations of MIMO systems. For example, consider this 2-by-2 MIMO system:

s=tf('s');
h = [1, 1/(s*(s+1)); 1/(s+2), 1/(s*(s+1)*(s+2))];
order(h)
ans =

     6

Although h has a 3rd order realization, order returns 6. Use

order(ss(h,'min'))

to find the minimal realization order.

See Also

|

Introduced in R2012a

Was this topic helpful?