Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

power (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the matrixops class.

Syntax

c = power(a, b)

Description

Raises input elements to powers that you specify.

Examples

Inputs

Name Description
a Specifies the elements you want to raise to a power. a is a scalar or matrix.
b Specifies the powers to which you want to raise the elements in a. b is a scalar or matrix of the same size as a.

Outputs

Name Description
c Returns the values of a.^b. c is a scalar or a matrix.

Examples

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

Related Topics

mpower
pow2


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit