flip

Block Category: Matrix Operation

Description: The flip block reverses the order of vector or matrix input elements. Vector input is flipped along the length of the vector. Matrix input is flipped based on the value of the Flip Type parameter.

      Vector input: The flip block reverses the order of the elements along the length of the vector.

      Matrix input: The flip block reverses the elements based on the value of the Flip Type parameter in the dialog box.

      in each row (horizontal) or in each column (vertical). The flip is determined by the Flip Type in the dialog box.

  

Flip Type: Indicates whether the input elements in matrix are reversed horizontally or vertically. Horizontal reverses the elements in each row. Vertical reverses the elements in each column.

Examples

.