add_notches: Add notch-like gaussian snippets to an existing signal x

Description Usage Arguments Value

Description

Add notch-like gaussian snippets to an existing signal x

Usage

1
add_notches(x, pos, sd = 0.01 * length(x), amplitude = 1)

Arguments

x

[1,N] numeric, Original data

pos

[1,m] integer, Positions to add notches to

sd

[1,1] numeric, (optional) Desired width of the Gaussian notch

amplitude

[1,1] numeric, (optional) Desired amplitude for the notches

Value

[1,N] numeric, Modified signal with notches


bwrc/cocoreg-r documentation built on May 13, 2019, 9:09 a.m.