Owning Class: transforms
Requires: MathScript RT Module
b = bitreverseorder(a)
[b, c] = bitreverseorder(a)
Legacy Name: bitrevorder
Permutes the input array into bit-reversed order.
| Name | Description |
|---|---|
| a | Specifies the input array. a is an array. If a is a 2D array, bitreverseorder permutes a along the first non-singleton dimension of a. |
| Name | Description |
|---|---|
| b | Returns the permuted array. |
| c | Returns the bit-reversed index. |
x = [0:15].';
y = bitreverseorder(x)