Linear Model with 4 parameters
2 ビュー (過去 30 日間)
古いコメントを表示
I need to come up with an estimate for the starting values of the coefficients of a rational model. The rational model is:
One source says that I could do this by performing a linear fit on the model:
I'm using Matlab to fit the rational model, but it performs poorly if I don't use good starting points for the coefficients.
How can I use Matlab to perform this linear regression on 4 data points in order to get starting values for A0, A1, B1 and B2?
2 件のコメント
Torsten
2022 年 2 月 28 日
If you only have 4 data points, then the best fit parameters to the linear model will in most cases already be the best-fit parameters to the rational model. This is because you usually get a unique solution for 4 equations in 4 unknowns.
参考
カテゴリ
Help Center および 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!