Curve Fitting a Transfer Function

I have a transfer function in the frequency domain and I am looking to curve fit it into a numerator and a denominator for a system. Is there a specific function that I can use to do so if there are both poles and zeros in the transfer function? I have the standard student version toolboxes as well as the system ID toolboxes.

Answers (1)

In System Identification Toolbox, there is a "tfest" function. Notice that one way to call it is by specifying the data, as well as the number of poles (np) and zeros (nz):
>> sys = tfest(data,np,nz)
- Sebastian

1 Comment

Thank you Sebastian. I had attempted to use the tfest command previously and the system that I was getting was not even close to a good approximation of my transfer function. The system I was given was just an exponential decay function with no distinct poles or zeros. Do you have any suggestions as to how I can get the tfest command to give me better results?

Sign in to comment.

Asked:

on 13 Jul 2015

Commented:

on 14 Jul 2015

Community Treasure Hunt

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

Start Hunting!