summaryrefslogtreecommitdiff
path: root/macros/bitrevorder.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/bitrevorder.sci')
-rw-r--r--macros/bitrevorder.sci5
1 files changed, 1 insertions, 4 deletions
diff --git a/macros/bitrevorder.sci b/macros/bitrevorder.sci
index 7ffe2ec..fa01ec7 100644
--- a/macros/bitrevorder.sci
+++ b/macros/bitrevorder.sci
@@ -10,21 +10,17 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
function [y, i] = bitrevorder (x)
-
// Returns input data in bit-reversed order
//
// Calling Sequence
//[y,i] = bitrevorder(x)
//y = bitrevorder(x)
-
// Parameters
//x: Vector of real or complex values
//y: input vector in bit reverse order
//i: indices
-
// Description
//This function returns the input data after reversing the bits of the indices and reordering the elements of the input array.
-
// Examples
//x = [%i,1,3,6*%i] ;
//[y i]=bitrevorder(x)
@@ -37,6 +33,7 @@ function [y, i] = bitrevorder (x)
// i 3. 1. 6.i
// Dependencies
// digitrevorder
+
funcprot(0);
[nargout, nargin] = argn() ;