conforms with matlab version
morlet filter