flip
Flip order of elements
📝Syntax
B = flip(A, dim)
📥Input Arguments
Parameter Description
A an array
dim an positive integer value
📤Output Arguments
Parameter Description
B flipped array.
📄Description

flip return an new array of A flipped about the dimension dim.

💡Examples
x = eye(3, 2);
y = flip(x, 1)
y = flip(x, 2)
y = flip(x, 3)
🔗See Also
flipudfliplrflipdim
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub