How to reproduce the example figure using lsqcurvefit
5 ビュー (過去 30 日間)
古いコメントを表示
Looking at the section 'Splitting the Linear and Nonlinear Problems', I understood upto the point how to estimate two exponents lambda1 & 2 (line 51). However, I don't understand how to recover the estimate for 'c' to produce the 'Global fit' in the last figure in the following section.
More specifically, once I obtain the unknown lambdas, what should I do to obtain the unknown vector 'c' (in the function 'fitvector')? Which of the followings would be the right approach?
- c=A \ ydata
- c=A \ yEst, or
- Once obtained the estimates for lambda, I follow the full parameter estimation using the lambdas.
Thanks in advance for your help!
0 件のコメント
回答 (1 件)
Mathieu NOE
2021 年 9 月 29 日
hello
well, if the question is only about how to use lsqcurvefit, my answer is not gotta help you because I'm using either fminsearch , or , much better and more robust to crude / bad initial guess : Fminspleas - File Exchange - MATLAB Central (mathworks.com)
see the two examples attached if it helps you
all the best
6 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!