search for: fft_length

Displaying 1 result from an estimated 1 matches for "fft_length".

Did you mean: f_length
2007 Feb 06
0
convolve: request for "usual" behaviour + some improvements + some fixes
...t; Best, > H. > > > convolve2 <- function(x, y, conj=FALSE, type=c("circular", "open", "filter")) > { > type <- match.arg(type) > nx <- length(x) > ny <- length(y) > if (type == "circular") { > fft_length <- max(nx, ny) > } else { > if (conj) { > y <- rev(y) > if (is.complex(y)) > y <- Conj(y) > conj <- FALSE > } > nz <- nx + ny - 1 > fft_length <- 2^ceiling(log2(nz))...