Main Content
realpow
Array power for real-only output
Syntax
Z = realpow(X,Y)
Description
raises each element of array Z
= realpow(X
,Y
)X
to the power of its corresponding
element in array Y
. Arrays X
and
Y
must be the same size or be compatible. The range of realpow
is the set of all real
numbers, i.e., all elements of the output array Z
must be
real.
If either X
or
Y
is a table or timetable, then Z
is a table
or timetable. (since R2023a)