Skip to contents

Successively notches the fundamental and its first n_harmonics harmonics. Each notch below Nyquist is applied; aliased harmonics are skipped.

Usage

morie_dsp_comb(x, fundamental, fs, n_harmonics = 5L, q = 30)

Arguments

x

Numeric vector.

fundamental

Fundamental frequency (Hz), e.g. 60 for North American mains.

fs

Sampling frequency (Hz).

n_harmonics

Number of harmonics to cancel. Default 5.

q

Quality factor per notch. Default 30.

Value

Filtered vector, length(x).

References

Rangayyan & Krishnan (2015), Ch. 3, sec. 3.7.