Learn R Programming

TDD (version 0.4)

CalcCorners: Calculate Corner Frequencies

Description

Inputs a continuous instrument response list and returns a vector of its cutoff frequencies (defined here as the -3dB point). Optionally plots results.

Usage

CalcCorners(PZ, f = 1:1000000/1000, PLOT = FALSE)

Arguments

PZ
Continuous instrument response list (from GetPZ, for example)
f
Vector of frequency values to test (Hz)
PLOT
Logical: plot response spectrum and mark corner frequencies?

Value

Vector of corner frequencies in response spectrum.

Examples

Run this code
# Response of CMG-40T
PZ = GetPZ(12)[[1]]
CalcCorners(PZ, PLOT = TRUE)

Run the code above in your browser using DataLab