power

Element wise power, .^ operator

Syntax

  • C = power(A, B)

  • C = A .^ B

Input argument

  • A - a variable

  • B - a variable

Output argument

  • C - result of A.^B

Description

C = power(A, B) performs an element wise power operation: A .^ B .

Example

power(3, 4)
3.^4

See also

mpower.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated