A — Base scalar | vector | matrix | multidimensional array

Base, specified as a scalar, vector, matrix, or multidimensional array. Inputs
A and B must either be the same size or have
sizes that are compatible (for example, A is an
M-by-N matrix and B is a
scalar or 1-by-N row vector).

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | logical | fi Complex Number Support: Yes

Exponent, specified as a non-negative, real, integer-valued scalar, vector, matrix,
or multidimensional array. Inputs A and B must
either be the same size or have sizes that are compatible (for example,
A is an M-by-N matrix and
B is a scalar or 1-by-N row vector).

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | logical | fi

C — Power scalar | vector | matrix | multidimensional array

Power, returned as an array with the same dimensions as the input
A. When A has a local fimath
object, the output C also has the same local
fimath object. The array power operation is always performed using
the default fimath settings.

Extended Capabilities

C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.

Usage notes and limitations:

When the exponent k is a variable, the
ProductMode property of the governing fimath
must be SpecifyPrecision.

HDL Code Generation Generate Verilog and VHDL code for FPGA and ASIC designs using HDL Coder™.

Both inputs must be scalar, and the exponent input, k, must
be a constant integer.

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.