equation solving for experimental data
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I am trying to solve a nonlinear equation (Z(f)) of 4 variables which is the following:
Z=sqrt(((x(1)+x(4)-x(1)*x(2)*x(3)*(2*pi*f)^2)^2+(x(1)*x(2)*x(4)+x(3))^2*(2*pi*f)^2)/(1+x(1)^2*x(2)^2*(2*pi*f)^2))
I've got experimentally 200 pairs of values of Z and f and I would like to find the coeficients x(1), x(2), x(3) and x(4) which introduce the less error into these pairs of values.
Curve fitting seems to work similarly, but I am not sure it will work properly.
Can anybody lend me a hand?
Francesc I. Rillo
0 commentaires
Réponses (1)
Walter Roberson
le 10 Fév 2011
It appears that the solution that might perhaps be most suitable for fitting would be,
x(1) = 0
x(4) = 0
x(3) = abs(Z)/(2*Pi*f)
x(2) = 1/ (x(3) * 8*Pi^2 * f^2)
Voir également
Catégories
En savoir plus sur Least Squares dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!