This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Estimate Frequency-Response Models at the Command Line

You can use the etfe, spa, and spafdr commands to estimate spectral models. The following table provides a brief description of each command and usage examples.

The resulting models are stored as idfrd model objects. For detailed information about the commands and their arguments, see the corresponding reference page.

Commands for Frequency Response

CommandDescriptionUsage
etfe

Estimates an empirical transfer function using Fourier analysis.

To estimate a model m, use the following syntax:

m=etfe(data)
spa

Estimates a frequency response with a fixed frequency resolution using spectral analysis.

To estimate a model m, use the following syntax:

m=spa(data)
spafdr

Estimates a frequency response with a variable frequency resolution using spectral analysis.

To estimate a model m, use the following syntax:

m=spafdr(data,R,w)

where R is the resolution vector and w is the frequency vector.

Validate the model after estimating it. For more information, see Model Validation.

Related Examples

More About