qmf - quadrature mirror function
This function flips the input vector. And the odd-indexed value would be multiplied with -1. Input should be vector no matter row vector or column vector. Output would be row vector.
-->a=[1 2 3 4 5]; -->b=qmf(a) ans = -5 4 -3 2 -1 -->a=a'; -->b=qmf(a) ans = -5 4 -3 2 -1 -->a=[1 2 3;4 5 6]; -->b=qmf(a) Input should be vectors rather than matrixes! -->a=1; -->b=qmf(a) Input should be vectors!