functionwavCoef1

Extract the wavelet coefficients of a single level

Information

This function extracts the coefficients of a specified decomposition level from the data structure of the wavelet coefficients. This operation is useful if only the coefficients of a specific level are interested.

The definitions of the input parameters, c and len, are same as the function wavDec().

Refer to the section of wavelet Families for the detailed information about the available wavelets.

The default input values provide a quick example.

Inputs

TypeNameDefaultDescription
Real[:]c{-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}Wavelet coefficients of all levels
Integer[:]len{13, 7, 4, 2, 2}Lengths of coefficient vectors for all levels
Integerlevel2The level to be reconstructed. 1..N are for the detail levels, where N is the maximum decomposition level. 1 stands for the most detail level (highest frequency). N+1 is for the approximation level.

Outputs

TypeNameDefaultDescription
Real[:]c1Extracted coefficients