本节支持估计程序金宝appEstimate Frequency-Response Models in the AppandEstimate Frequency-Response Models at the Command Line.
Frequency resolutionis the size of the smallest frequency for which details in the frequency response and the spectrum can be resolved by the estimate. A resolution of 0.1 rad/s means that the frequency response variations at frequency intervals at or below 0.1 rad/s are not resolved.
Note
Finer resolution results in greater uncertainty in the model estimate.
Specifying the frequency resolution foretfe
andspa
is different than forspafdr
.
Foretfe
andspa
, the frequency resolution is approximately equal to the following value:
Mis a scalar integer that sets the size of the lag window. The value ofM
controls the trade-off between bias and variance in the spectral estimate.
The default value ofMforspa
is good for systems without sharp resonances. Foretfe
, the default value ofM给出最大分辨率。
A large value ofMgives good resolution, but results in more uncertain estimates. If a true frequency function has sharp peak, you should specify higherM
values.
In case ofetfe
andspa
,频率响应定义在均匀频率范围内,0-fs/2radians per second, whereFsis the sampling frequency—equal to twice the Nyquist frequency. In contrast,spafdr
lets you increase the resolution in a specific frequency range, such as near a resonance frequency. Conversely, you can make the frequency grid coarser in the region where the noise dominates—at higher frequencies, for example. Such customizing of the frequency grid assists in the estimation process by achieving high fidelity in the frequency range of interest.
Forspafdr
, the frequency resolution around the frequencyk是价值R(k). You can enterR(k)in anyoneof the following ways:
Scalar value of the constant frequency resolution value in radians per second.
Note
The scalarRis inversely related to theMvalue used foretfe
andspa
.
Vector of frequency values the same size as the frequency vector.
表达式使用MATLAB®workspace variables and evaluates to a resolution vector that is the same size as the frequency vector.
The default value of the resolution forspafdr
is twice the difference between neighboring frequencies in the frequency vector.
If the input data is marked as periodic and contains an integer number of periods (data.Period
is an integer),etfe
computes the frequency response at frequencies
.
For periodic data, the frequency resolution is ignored.