Learn R Programming

sysid (version 1.0.4)

spa: Estimate frequency response

Description

Estimates frequency response and noise spectrum from data with fixed resolution using spectral analysis

Usage

spa(x, winsize = NULL, freq = NULL)

Arguments

x
an idframe object
winsize
lag size of the Hanning window (Default: min (length(x)/10,30))
freq
frequency points at which the response is evaluated (Default: seq(1,128)/128*pi/Ts)

Value

an idfrd object containing the estimated frequency response and the noise spectrum

References

Arun K. Tangirala (2015), Principles of System Identification: Theory and Practice, CRC Press, Boca Raton. Sections 16.5 and 20.4

Examples

Run this code
data(arxsim)
frf <- spa(arxsim)

Run the code above in your browser using DataLab