Table Of Contents

mirror

Version:
    Last Modified: March 15, 2017

    Flips an array of any dimension across a specified dimension.

    Syntax

    c = mirror(a, b)
    Legacy name: flipdim

    Inputs

    a

    Array of any dimension you want to flip.

    b

    Dimension across which you want to flip a. b is an integer between 1 and the maximum of supported array dimensions, which is 32.

    Outputs

    c

    a with flipped elements. c is an array of the same size as a.

    A = [1, 2, 3, 4; 5, 6, 7, 8];
    C = mirror(A, 1)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics