Least Squares Method- Νon linear to Linear
古いコメントを表示
Hello! I need to approach some given points [X,Y]with the use of the method of the least squares.Also,for the approximation of these points we have the function f=ax/(b+x).My problem is that I can't bring the function to the standard form f=aX+b.Does anyone know what should I do? Thank you in advance!
採用された回答
その他の回答 (1 件)
Bill Whiten
2013 年 2 月 9 日
0 投票
You can write the equation as f=(a/b)x-(1/b)fx and use linear regression for the coefficients (a/b) and (1/b). Convert these to a and b as initial estimates for fminsearch or non linear least squares functions.
1 件のコメント
Greg Heath
2013 年 2 月 9 日
Your equation makes no sense to me at all. How was it derived?
カテゴリ
ヘルプ センター および File Exchange で Linear and Nonlinear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!