MATLAB Function Reference Previous page   Next Page
realpow

Array power for real-only output

Syntax

Description

Z = realpow(X,Y) raises each element of array X to the power of its corresponding element in array Y. Arrays X and Y must be the same size. The range of realpow is the set of all real numbers, i.e., all elements of the output array Z must be real.

Examples

See Also

reallog, realsqrt, .^ (array power operator)


Previous page  realmin realsqrt Next page

© 1994-2005 The MathWorks, Inc.