summaryrefslogtreecommitdiff
path: root/man/spa.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/spa.Rd')
-rw-r--r--man/spa.Rd35
1 files changed, 35 insertions, 0 deletions
diff --git a/man/spa.Rd b/man/spa.Rd
new file mode 100644
index 0000000..306189f
--- /dev/null
+++ b/man/spa.Rd
@@ -0,0 +1,35 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/nonparam.R
+\name{spa}
+\alias{spa}
+\title{Estimate frequency response}
+\usage{
+spa(x, winsize = NULL, freq = NULL)
+}
+\arguments{
+\item{x}{an \code{idframe} object}
+
+\item{winsize}{lag size of the Hanning window (Default: \code{min
+(length(x)/10,30)})}
+
+\item{freq}{frequency points at which the response is evaluated
+(Default: \code{seq(1,128)/128*pi/Ts})}
+}
+\value{
+an \code{idfrd} object containing the estimated frequency response
+and the noise spectrum
+}
+\description{
+Estimates frequency response and noise spectrum from data with
+fixed resolution using spectral analysis
+}
+\examples{
+data(arxsim)
+frf <- spa(arxsim)
+
+}
+\references{
+Arun K. Tangirala (2015), \emph{Principles of System Identification:
+Theory and Practice}, CRC Press, Boca Raton. Sections 16.5 and 20.4
+}
+