Search

Module: Editor

Version: 19.05 +

Type: Double

Category: Matrix

Description

The formula 'PowerMatrix' returns the result of each element of a matrix raised to a power. The formula 'PowerMatrix' creates a new matrix with elements that are raised to a chosen matrix with exponents.The matrices have to be the same size.

Parameters

Matrix:         the matrix to use as a base for the exponentiation.

Power:         is the matrix with exponents, to which the base numbers are raised.

Example

Description

In the following example the formula 'PowerMatrix' is used to get a matrix with the elements that are raised to a matrix with exponents.

Values parameters

Matrix:

Column 1 Column 2
1 2
3 4

Power:

Column 1 Column 2
4 3
2 1

Result

Output:

Column 1 Column 2
1 8
9 4

The result is a matrix raised respectively to each element in the power matrix.

Related Topics

- PowerMatrixScalar: The formula 'PowerMatrixScalar' returns the result of each element of a matrix raised to a power.

- PowerScalarMatrix: The formula 'PowerScalarMatrix' returns the result of scalar raised to each element of a matrix.

Feedback

If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.

Updated: 2019-05-10