[y,i]=bitrevorder(x)
Vector of real or complex values
This is an Octave function. This function returns the input data after reversing the bits of the indices and reordering the elements of the input array.
1. [y]=bitrevorder ([i,1,3,6i]) y = [0 + 1i 3 + 0i 1 + 0i 0 + 6i] 2. [y,i]=bitrevorder (['a','b','c','d']) y = acbd i = [1 3 2 4]