Multivariate Regression Parameter Optimization
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
the cyclist
am 3 Jul. 2012
0 Stimmen
I think that the function nlinfit() from the Statistics Toolbox will do what you want.
1 Kommentar
Andrew
am 3 Jul. 2012
Bearbeitet: the cyclist
am 3 Jul. 2012
Kategorien
Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!