flipdim

Flip array along specified dimension

📝 Syntax

  • B = flipdim(A, dim)

📥 Input argument

  • A - an array

  • dim - an positive integer value

📤 Output argument

  • B - flipped array.

📄 Description

flipdim return an new array ofA flipped about the dimension dim.

flipdim is similar toflip and available for compatibility with old existing scripts.

💡 Example

🔗 See also

flip, flipud, fliplr.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?