Multivariate Regression Parameter Optimization
Afficher commentaires plus anciens
I am trying to find the values that will optimize parameters in an equation. Two measured values are related by an equation to equal a known value.
The equation is: y=a*(x^b)*(z^c)
x & z = measured values (vectors of length n)
a,b & c = the unknown free parameters (single values)
I also have known values Y that y should approximately equal. Therefore, I want to find the set of parameters a,b&c that minimizes the difference between Y and y (given all measured values).
What is the best way to do this in MATLAB?
Thanks!
-Andrew
Réponse acceptée
Plus de réponses (1)
the cyclist
le 3 Juil 2012
0 votes
I think that the function nlinfit() from the Statistics Toolbox will do what you want.
1 commentaire
Andrew
le 3 Juil 2012
Modifié(e) : the cyclist
le 3 Juil 2012
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!