MATLAB Function Reference Previous page   Next Page
power

Array power

Syntax

Z = X.^Y

Description

Z = X.^Y denotes element-by-element powers. X and Y must have the same dimensions unless one is a scalar. A scalar is expanded to an array of the same size as the other input.

C = power(A,B) is called for the syntax 'A .^ B' when A or B is an object.

See Also

nthroot


Previous page  pow2 ppval Next page

© 1994-2005 The MathWorks, Inc.