Multivariate Regression Parameter Optimization
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
the cyclist
il 3 Lug 2012
0 voti
I think that the function nlinfit() from the Statistics Toolbox will do what you want.
1 Commento
Andrew
il 3 Lug 2012
Modificato: the cyclist
il 3 Lug 2012
Categorie
Scopri di più su Get Started with Curve Fitting Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!