Multivariate Regression Parameter Optimization
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
the cyclist
el 3 de Jul. de 2012
0 votos
I think that the function nlinfit() from the Statistics Toolbox will do what you want.
1 comentario
Andrew
el 3 de Jul. de 2012
Editada: the cyclist
el 3 de Jul. de 2012
Categorías
Más información sobre Get Started with Curve Fitting Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!