Version:

Raises input elements to powers that you specify.

## Syntax

c = powerofreal(a, b)
Legacy name: realpow

## a

Elements you want to raise to a power. a is a non-complex scalar or non-complex array of any dimension.

## b

Powers to which you want to raise the elements in a. b is a non-complex scalar or non-complex array of any dimension of the same size as a.

## c

Values of a^b. c is a scalar or an array of the same size as a or b.