Multivariate Regression Parameter Optimization
Show older comments
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
Accepted Answer
More Answers (1)
the cyclist
on 3 Jul 2012
0 votes
I think that the function nlinfit() from the Statistics Toolbox will do what you want.
1 Comment
Andrew
on 3 Jul 2012
Edited: the cyclist
on 3 Jul 2012
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!