FUNCTION REFERENCE
power
Elementwise power, the function form of a .^ b.
Elementwise power, the function form of a .^ b.
Syntax
C = power(A, B)Evaluates a .^ b; a negative base with a non-integer exponent gives a
complex result.
Example
power([1 2 3], 2) % [1 4 9]Differences from MATLAB: same limits as the .^ operator.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.