costap: Cosine-squared taper

Description Usage Arguments Value Examples

View source: R/fftresample.R

Description

Compute cosine-squared taper

Usage

1
costap(n, pct = 0.05)

Arguments

n

length of taper

pct

percent of n used to roll on and off the taper on ends.

Value

taper vector.

Examples

1
2
t <- costap( 100, pct = 0.2 )
plot( t, xlab = "Time", ylab = "Taper", type = "l" )

jrevenaugh/TSAUMN documentation built on Nov. 8, 2019, 2:20 p.m.