obsvf (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

obsvf (Control Design and Simulation Module, MathScript Function)

Member of the ssanals class.

Syntax

[As, Bs, Cs, T, l] = obsvf(SysInSS)

[As, Bs, Cs, T, l] = obsvf(SysInSS, tol)

[As, Bs, Cs, T, l] = obsvf(A, B, C)

[As, Bs, Cs, T, l] = obsvf(A, B, C, tol)

Description

Calculates the observable staircase transformation of the SysInSS system model. You can use the staircase representation to identify observable and unobservable states of the model. This function also returns a list of observable states.

Examples

Inputs

Name Description
SysInSS Specifies a linear time-invariant (LTI) system in state-space form.
A Specifies an n x n state matrix, where n is the number of states. The default is an empty matrix. A is a real matrix.
B Specifies an n x m input matrix, where m is the number of inputs. The default is an empty matrix. B is a real matrix.
C Specifies an r x n output matrix, where r is the number of outputs. The default is an empty matrix. C is a real matrix.
tol Specifies the tolerance. If a diagonal value in the A matrix is less than the value of tol, this function considers that value equal to 0. The default value of tol is 0.0001. tol is a real scalar.

Outputs

Name Description
As Returns the observability staircase state matrix A. As is a real matrix.
Bs Returns the observability staircase input matrix B. Bs is a real matrix.
Cs Returns the observability staircase output matrix C. Cs is a real matrix.
T Returns the observability transformation matrix. T is a real matrix.
l Returns the indexes of the observable states of the SysInSS model. l is an integer vector.

Examples

A = [-1, 2; 0, -3]B = [0; 1]
C = [1, 0]
[As, Bs, Cs] = obsvf(A, B, C)

Related Topics

obsv
ctrb
ctrbf
gram