R/UpDyadHi.R

Defines functions UpDyadHi

Documented in UpDyadHi

#' Hi-Pass Upsampling operator; periodized
#'
#' @export UpDyadHi
#' @param x 1-d signal at coarser scale.
#' @param qmf filter.
#' @return \code{u} 1-d signal at finer scale.
#' @examples
#' qmf <- MakeONFilter('Haar')
#' x <- MakeSignal('HeaviSine',2^3)
#' UpDyadHi(x,qmf)
#' @seealso \code{\link{DownDyadLo}}, \code{\link{DownDyadHi}},
#' \code{\link{UpDyadLo}}, \code{\link{IWT_PO}}, \code{\link{aconv}}.

UpDyadHi <- function(x, qmf) {
  y <- aconv(MirrorFilt(qmf), rshift(UpSampleN(x)))
  return(y)
}

# Copyright (c) 1993. Iain M. Johnstone last modified on October 2005

# Part of Wavelab Version 850 Built Tue Jan 3 13:20:40 EST 2006 This is
# Copyrighted Material For Copying permissions see COPYING.m Comments? e-mail
# wavelab@stat.stanford.edu

Try the rwavelet package in your browser

Any scripts or data that you put into this service are public.

rwavelet documentation built on Jan. 13, 2021, 10:38 a.m.