David
Farruggio

MathGenie

power, .^

Element-wise power

Syntax and Description

A.^B raises each element of A to the corresponding power in B.
power(A,B) is an alternate way to execute A.^B, but is rarely used.

Back to functions