Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

powerof2 (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: basic

Requires: MathScript RT Module


c = powerof2(a)

c = powerof2(f, e)

Legacy Name: pow2


c = powerof2(a) computes the powers of 2 of the input elements. c = powerof2(f, e) computes the multiplication of f and 2 to the power of e.




Name Description
a Specifies a scalar, vector, or matrix.
f Specifies a real scalar, vector, or matrix.
e Specifies a real scalar, vector, or matrix.


Name Description
c c is a scalar, vector, or matrix of the same size as a, or of the same size as f or e.


For the following support characteristics table, only c = powerof2(a) is suitable for bounded execution times in Real-Time applications. c = powerof2(f, e) is not characterized.

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 Yes


A = [1+3i, 5.6; -2.3, 8-i]
C = powerof2(A)

Related Topics



 Was this document helpful?  submit
  Helpful Not Helpful