image thumbnail

zpkfit

version 1.0.0.0 (2.03 KB) by Tobin Fricke
Fit poles and zeroes (ZPK) to frequency response data

901 Downloads

Updated 2 Jun 2010

View License

zpkfit uses the nonlinear least-squares fitter (lsqnonlin) to fit an analytic model of any (fixed) number of poles and zeroes to numerical (presumably measured) frequency response data. It takes as arguments a frequency vector, a frequency response vector, and vectors of the initial guesses of pole and zero locations. The number of poles and zeroes given in the initial guesses determines the order of the model that will be fit.

This works extremely well for models that can be well fit by a few poles and zeroes. For more complicated cases, vectfit.m or one of the functions in the System ID toolbox might be more appropriate.

Cite As

Tobin Fricke (2022). zpkfit (https://www.mathworks.com/matlabcentral/fileexchange/27821-zpkfit), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!