flip

Flip vectors and matrices in all directions
613 Descargas
Actualizado 29 jul 2014

Ver licencia

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;

Citar como

Marco Borges (2025). flip (https://la.mathworks.com/matlabcentral/fileexchange/47279-flip), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2012b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Arithmetic Operations en Help Center y MATLAB Answers.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.4.0.0

Fix documentation

1.3.0.0

use get values indices to perform flip instead of loop

1.2.0.0

use same condition for row and column vector

1.1.0.0

comment

1.0.0.0