Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Multiple nonlinear regression using MATLAB?
I have the following function: y = a * x1^alpha * x2^beta + b
I am trying to find a, b, alpha and beta. I have data for y, x1 and x2 (which are 2 independent variables). How can I solve this using MATLAB?
4 Answers
- Anonymous1 decade agoFavorite Answer
That's a curve fitting, right?
One possibility is to solve it as an optimization problem. You have to set your function in such a way that its minimized value is the answer. There are functions to minimize other functions, for example fminsearch.
See this full example: