determine the values of 2 unknowns through nonlinear regression and predict value of equation
4 ビュー (過去 30 日間)
表示 古いコメント
I have to determine the value of 2 unknowns a and b through nonlinear regression and predict the value of the equation y for x=2.6
the equation is y=((a+sqrt(x)./(b.*sqrt(x))).^2). i looked through my class pdf's and i found nothing related to non linear regression and searched on youtube found nothing helpful . Any clues please ? or links to helpful locations websites or mathworks that might contain info . I don't know where to search anymore .
3 件のコメント
採用された回答
Ameer Hamza
2020 年 12 月 6 日
There are several ways to do nonlinear regression for a given model in MATLAB. If you have the optimization toolbox, then you can use lsqcurvefit(): https://www.mathworks.com/help/releases/R2020a/optim/ug/lsqcurvefit.html or lsqnonlin(): https://www.mathworks.com/help/releases/R2020a/optim/ug/lsqnonlin.html
fit(): https://www.mathworks.com/help/releases/R2020a/curvefit/fit.html from Curve fitting toolbox can also be used.
その他の回答 (0 件)
参考
カテゴリ
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!