Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Mathematical Functions
Topic: Fourier and Wavelet transforms
See also: fwtin invfwtin dwt invdwt fwt invfwt

Function: fwtinshift
Description: fwtinshift retrieves the wavelet coefficients for a given shift of the Fast Wavelet Transformation of all circular shifts (fwtin) of a vector.

Link:
Usage: x = fwtinshift (ti, param)
Input:
ti n x d matrix, all circular shifts (fwtin)
param 2 x 1 vector, param[1] = log2(# of father wavelet coeffs), param[2] = shift
Output:
x n x 1 vector, resulting coefficients

Note:

Example:
library("wavelet")
x  =(0:15)/16
y  = sin(pi*x)+normal(16)
ti = fwtin(y, 2, daubechies4)
fwtinshift(ti, cols(ti)|0)    ; reproduces x since no shifts were done

Result:
Contents of fwtinshift

[ 1,]  0.58769
[ 2,]  0.75702
[ 3,]  0.88283
[ 4,] -0.53397
[ 5,] -0.33141
[ 6,]   1.2115
[ 7,]   1.2344
[ 8,]  -1.0607
[ 9,] -0.27021
[10,] -0.28111
[11,]  -1.3873
[12,]  0.20907
[13,]   -1.634
[14,]   0.8523
[15,]   1.0535



(C) MD*TECH Method and Data Technologies, 05.02.2006