FUNCTION REFERENCE
realpow
Array power with real output.
Array power with real output.
Syntax
Z = realpow(X, Y)Same as X.^Y, but stops with an error when an element of the result would be
complex (a negative base with a non-integer exponent).
Example
realpow(2, 3) % 8Differences from MATLAB: complex input gives an error.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.