Member of the linalgebra class.
c = flipdim(a, b)
Flips a matrix across a specified dimension.
| Name | Description | ||||
| a | Specifies the matrix you want to flip. | ||||
| b | Specifies the dimension across which you want to flip a. b is an integer that accepts the following values.
|
| Name | Description |
| c | Returns a with flipped elements. c is a matrix of the same size as a. |
A = [1, 2, 3, 4; 5, 6, 7, 8]
C = flipdim(A, 1)