LabVIEW Control Design and Simulation Module

obsvstair (MathScript RT Module Function)

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

obsvstair (MathScript RT Module Function)

Owning Class: ssanals

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

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

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

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

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

Legacy Name: obsvf

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.

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

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

Related Topics

obsvmx
ctrbmx
ctrbstairs
grammian