LabVIEW Control Design and Simulation Module

powermx (MathScript RT Module Function)

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

powermx (MathScript RT Module Function)

Owning Class: cdops

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

SysOut = powermx(SysIn, n)

Description

Computes the matrix power.

Examples

Inputs

Name Description
SysIn Specifies a scalar, a matrix, or a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form.
n Specifies the power to which you want to raise SysIn. n is a scalar.

Outputs

Name Description
SysOut Returns SysIn^n. SysOut is of the same data type as SysIn.

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

SysIn = randss(2, 1, 1)
exp = 3
SysOut = powermx(SysIn, exp)