cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

7-Bedrock

## Help Needed Curve-Fitting 3rd Order Transfer Function

I have collected data points for a system that can be modeled by a third order transfer function (G= 1/(ax^3+ bx^2+cx^1+d)), at resonance. I would like to try and curve fit the data so I can analyze the experimental with the model but I cant figure out how to do it. I have tried the pwrfit and genfit commands but without luck. The plot of experimental data is included.

1 ACCEPTED SOLUTION

Accepted Solutions
13-Aquamarine
(To:aroberts)

Anthony,

See in attach

Viktor
10 REPLIES 10
23-Emerald IV
(To:aroberts)

19-Tanzanite
(To:aroberts)

This is easy to do. Genfit is one approach, but minerr is a better one. Please post a worksheet with the data and the equation for the model and I (or someone else if they beat me to it) will show you how to do it.

7-Bedrock
(To:aroberts)

I have attached the data set and form of the equation.

13-Aquamarine
(To:aroberts)

Anthony,

See in attach

Viktor
7-Bedrock
(To:ViktorKorobov)

Thank you, this helps immensely. How did you come up with your initial guesses though (vg)?

13-Aquamarine
(To:aroberts)
 Anthony Roberts wrote:Thank you, this helps immensely. How did you come up with your initial guesses though (vg)?

I do not know the physical meaning of your problem, so first I took the initial guesses for all parameters equal to 1. After that was the result of using the genfit again and used them as initial guesses.

Viktor
7-Bedrock
(To:ViktorKorobov)

Hello,

I tried using the results of the fitting function as coefficients, using the same fitting function, but the results do not match those of the original genfit command. The frequency responses are the same however the magnitude is markedly reduced andit is not obvious what could be wrong. I appreciate your help. The sheet is attached. I would have thought that since these were the extractged coefficients then I should be able to plug them directly into an equation of the same form and get the same results.

23-Emerald I
(To:aroberts)

Mathcad computes with full precision and displays with adjustable precision.

If you raise the precision in V(s) the graph improves.

7-Bedrock
(To:Fred_Kohlhepp)

Thank you. This is very surprising to me about the function and that its Q is so large/resonant frequency is so specific.

24-Ruby II
(To:aroberts)