Owning Class: basic
Requires: MathScript RT Module
c = powerof2(a)
Legacy Name: pow2
Computes the powers of 2 of the input elements.
| Name | Description |
|---|---|
| a | Specifies a scalar, vector, or matrix. |
| Name | Description |
|---|---|
| c | Returns the powers of 2 of the elements in a. c is a scalar, vector, or matrix of the same size as a. |
A = [1+3i, 5.6; -2.3, 8-i]
C = powerof2(A)