powerof2

Version:
Last Modified: January 9, 2017

c = powerof2(a) computes the powers of 2 of the input elements. c = powerof2(f, e) computes the multiplication of f and 2 to the power of e.

Syntax

c = powerof2(a)
c = powerof2(f, e)
Legacy name: pow2

a

Scalar or array of any dimension.

f

Scalar or array of any dimension.

e

Scalar or array of any dimension.

c

c is a scalar or an array of the same size as a or of the same size as f or e.

A = [1+3i, 5.6; -2.3, 8-i];
C = powerof2(A)

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported