This example displays the wavelet and scaling functions of a wavelet family in one diagram. For a wavelet that has no scaling function, only the wavelet function is displayed. For the complex wavelets, the real and imaginary parts are displayed with two curves. The user is able to select a wavelet by its name and set its parameters through a graphic interface.
Please refer to the description of wavelet families for the detailed information about the available wavelets in this library.
Because of the length of discrete Meyer wavelet, the display of it takes a long time.
function displayWavelet import Modelica.Constants.*; import Modelica.Utilities.Streams; import Modelica_LinearSystems2.Utilities.Plot; import Modelica_LinearSystems2.Math.Complex; input Records.wavletDefinition wp "Parameters for generating wavelet and scaling functions. See wavFunc() for detailed description of the parameters."; end displayWavelet;