Table Of Contents

digitreverseorder

Version:
    Last Modified: March 15, 2017

    Permutes the input array into digit-reversed order.

    Syntax

    c = digitreverseorder(a, b)
    [c, d] = digitreverseorder(a, b)
    Legacy name: digitrevorder

    Inputs

    a

    Input array. If a is a 2D array, digitreverseorder permutes a along the first non-singleton dimension of a.

    b

    Radix base. The length of the permuted dimension must be an integer power of b. digitreverseorder(a, 2) is equivalent to bitreverseorder(a).

    Outputs

    c

    Permuted array.

    d

    Digit-reversed index.

    x = [0:15].';
    y = digitreverseorder(x, 2)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics