.Wavelet.Transform.wavCoef1

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.

Interface

function wavCoef1
  input 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";
  input Integer len[:] = {13, 7, 4, 2, 2} "Lengths of coefficient vectors for all levels";
  input Integer level = 2 "The 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.";
  output Real c1[:] "Extracted coefficients";
end wavCoef1;

Generated at 2024-04-22T18:15:51Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos