This function generates the continuous Morlet wavelet function. It has no scaling function. Since Morlet wavelet has theoretically unlimited support, the function range has to be defined with [low, high].
function wavMorlet input Real low = -4 "Lower boundary of the function"; input Real high = 4 "Higher boundary of the function"; input Integer points = 32 "Integer number, length of the returned functions"; output Real x[points] "Regular grid"; output Real psi[points] "Wavelet function"; end wavMorlet;