determine the values of 2 unknowns through nonlinear regression and predict value of equation

3 views (last 30 days)
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 .

Sign in to comment.

Accepted Answer

Ameer Hamza
Ameer Hamza on 6 Dec 2020
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(): or lsqnonlin():
fit(): from Curve fitting toolbox can also be used.
  1 Comment
Opariuc Andrei
Opariuc Andrei on 6 Dec 2020
i'm stuck ,what am i doing wrong ?
%% calculus

Sign in to comment.

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by