Scilab Wavelet Toolbox Function
Last update : Feburary 2006

wrev - flip the vector

Calling Sequence

b=wrev(a)

Parameters

Description

This function flips the input vector no matter it is a row vector or column vector. The output vector would be a row vector.

Examples

-->a=[1 2 3 4 5];
-->b=wrev(a)
 ans =

5 4 3 2 1

-->a=a';
-->b=wrev(a)
 ans =

5 4 3 2 1

-->a=[1 2 3;4 5 6];
-->b=wrev(a)
Input should be vectors rather than matrixes!

-->a=1;
-->b=wrev(a)
Input should be vectors!

  

See Also

qmf