Computes the matrix power. powermx(a, b) is equivalent to a^b.
c = powermx(a, b)Legacy name: mpower
Scalar or square matrix of floating point or complex numbers. If b is a matrix, a must be a scalar.
Scalar or square matrix of floating point or complex numbers. If a is a matrix, b must be a scalar. If both inputs are scalars, and one is of integer type, the other input must be of the same integer type or a double type.
a^b. c is a square matrix. The output data type is not the greater data type of the two inputs. For example, if one input is double precision and the other input is single precision floating point number, the output is a single type.
If one input is scalar, the other input can be scalar or an array of any dimension. If both inputs are not scalar, the representation must be floating point or complex. If one input is integer, the other input must be the same integer type or a double scalar.
A = [1+3i, 5.6; -2.3, 8-i] B = 3 C = powermx(A, B)
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported