Search

 

Module: Editor

Version: 5.1.4 +

Type: Double

Category: Matrix

 

Description

The formula 'PowerScalarMatrix' returns the result of scalar raised to each element of a matrix. The formula 'PowerScalarMatrix' creates a new matrix with elements that are raised to a each element of the chosen matrix.

Parameters

Scalar:         the base number you want to use.

Power:         the matrix you want to use as exponents for the raise of the base number. 

Example

Description

In the following exapmle the formula 'PowerScalarMatrix' is used to get a matrix with a chosen base number that is raised to the elements of a chosen matrix.

Values parameters

Scalar: 2

Power:

Column 1Column 2Column 3
 2  5  8
 3  6  9
 4  7  10

 

Result

Output:

Column 1Column 2Column 3
 4  32  256
 8  64  512
 16  128  1024
 
The result is a matrix with elements with base 2 that are raised to the elements of the used matrix.
 

Related Topics

PowerMatrixScalarThe formula 'PowerMatrixScalar' returns the result of each element of a matrix raised to a power.

Feedback

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

Updated: 2014-09-11