B = flip(A, dim)
| Parameter | Description |
|---|---|
| A | an array |
| dim | an positive integer value |
| Parameter | Description |
|---|---|
| B | flipped array. |
flip return an new array of A flipped about the dimension dim.
x = eye(3, 2);
y = flip(x, 1)
y = flip(x, 2)
y = flip(x, 3)
| Version | Description |
|---|---|
| 1.0.0 | initial version |