You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Flip flips vectors and matrices in all directions
unlike fliplr and flipud functions, FLIP don't preserve row nor columns.
Return x = [ x[N],x[N-1],...,x[1] ] for N length column or row vector;
Return X = [ X[M,N],X[M,N-1],...X[M,1]; ]
[ X[M-1,N],X[M-1,N-1],...X[M-1,1]; ]
... .. ...
[ X[1,N], X[1,N-1], ... X[1,1] ] for M,N matrix;
Cite As
Marco Borges (2026). flip (https://www.mathworks.com/matlabcentral/fileexchange/47279-flip), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.4.0.0 (1.03 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
