functiontuneCoef

Tune the wavelet coefficients of all decomposition levels

Information

This function supports wavelet MRA. After wavelet (multi-level) decomposition, the coefficients are usually tuned in order to change the signal magnitude at different levels. This function is able to freely change the magnitude of the coefficients at each level by multiplying them with a given factor, which could be any real value.

The definition of c[:] and len[:] are the same as in the function wavDec().

Inputs

TypeNameDefaultDescription
Real[:]c0{-0.707, -0.707, -0.707, -0.7069999999999999, -0.707, -0.7069999999999999, 0.707, 0.0, -1.9993959999999997, -1.9993959999999997, 0.49984899999999993, -1.4135729719999994, 3.1805391869999995, 5.6542918879999995, 3.887325672999999}Original wavelet coefficients of all levels
Integer[:]len{13, 7, 4, 2, 2}Lengths of wavelet coefficients for each levels
Real[:]ratio{1, 0.1, 2, -1}{rD1, rD2, ..., rDN, rAN}, tuning factors of all levels.

Outputs

TypeNameDefaultDescription
Real[size(c0, 1)]c1Tuned wavelet coefficients of all levels