Learn R Programming

gsignal (version 0.3-1)

meyeraux: Meyer wavelet auxiliary function

Description

Compute the Meyer wavelet auxiliary function.

Usage

meyeraux(x)

Arguments

x

Input array, specified as a real scalar, vector, matrix, or multidimensional array.

Value

Output array, returned as a real-valued scalar, vector, matrix, or multidimensional array of the same size as x.

Details

The code y = meyeraux(x) returns values of the auxiliary function used for Meyer wavelet generation evaluated at the elements of x. The input x is a vector or matrix of real values. The function is $$y = 35x^{4} - 84x^{5} + 70x^{6} - 20x^{7}.$$ x and y have the same dimensions. The range of meyeraux is the closed interval c(0, 1).

Examples

Run this code
# NOT RUN {
x <- seq(0, 1, length.out = 100)
y <- meyeraux(x)
plot(x, y, type="l", main = "Meyer wavelet auxiliary function",
     xlab = "", ylab = "")

# }

Run the code above in your browser using DataLab