Table Of Contents

powerof2

Version:
    Last Modified: March 15, 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

    Inputs

    a

    Scalar or array of any dimension.

    f

    Scalar or array of any dimension.

    e

    Scalar or array of any dimension.

    Outputs

    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: This product does not support FPGA devices


    Recently Viewed Topics