imat_fn/power


Purpose

Array power.

Syntax

g=power(f,num)
g=power(f,2)
g=f.^2

g=2.^f

Description

IMAT_FN.^NUM takes the imat_fn to the power of NUM. NUM must be a scalar.

NUM.^IMAT_FN takes NUM to the power of the ordinate values in the imat_fn. The output is an IMAT_FN the same size as the input, where all of the ordinate values are NUM to the power of the ordinate values of the input IMAT_FN.

See Also

imat_fn/mpower