This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.


(Not recommended) Flip array along specified dimension

flipdim is not recommended. Use flip instead.


B = flipdim(A,dim)


B = flipdim(A,dim) returns A with dimension dim flipped.

When the value of dim is 1, the array is flipped row-wise down. When dim is 2, the array is flipped columnwise left to right. flipdim(A,1) is the same as flipud(A), and flipdim(A,2) is the same as fliplr(A).


flipdim(A,1) where

A =

     1     4
     2     5
     3     6


     3     6
     2     5
     1     4

See Also

| | | |

Introduced before R2006a

Was this topic helpful?