bw_resp: Butterworth filter frequency response

View source: R/bw_resp.R

bw_respR Documentation

Butterworth filter frequency response

Description

This function calculates Butterworth filter frequency response (for both causal and acausal)

Usage

bw_resp(freq, fc, nPole, is_causal)

Arguments

freq

An array of frequency

fc

The corner frequency for low-pass/high-pass

nPole

The pole parameter for the order, where the order is 2 * nPole. Positive for low-pass; Negative for high-pass

is_causal

A binary to indicator if causal is applied. Apply causal if is_causal = TRUE and apply acausal if is_causal = FALSE

Value

The frequency response


wltcwpf/hvsrProc documentation built on March 25, 2024, 7 p.m.