blob: 53dffd8c1de7656d573016f0d84f70b7e0ff253a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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{freq}{frequency points at which the response is evaluated
(Default: \code{seq(1,128)/128*pi/Ts})}
\item{W}{lag size of the Hanning window (Default: \code{min
(length(x)/10,30)})}
}
\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(frf)
frf <- spa(data)
}
\references{
Arun K. Tangirala (2015), \emph{Principles of System Identification:
Theory and Practice}, CRC Press, Boca Raton. Sections 16.5 and 20.4
}
|