Member of the transforms class.
c = digitrevorder(a, b)
[c, d] = digitrevorder(a, b)
Permutes the input array into digit-reversed order.
| Name | Description |
| a | Specifies the input array. a is an array. If a is a 2D array, digitrevorder permutes a along the first non-singleton dimension of a. |
| b | Specifies the radix base. The length of the permuted dimension must be an integer power of b. digitrevorder(a, 2) is equivalent to bitrevorder(a). |
| Name | Description |
| c | Returns the permuted array. |
| d | Returns the digit-reversed index. |
x = [0:15].';
y = digitrevorder(x, 2)