How can I use the output function of the nonlinear regression model?

1 view (last 30 days)
I carried out a nonlinear regression analysis to find the best fit of two arrays (x,y). I used the function NonLinearModel.fit .. Now I need to use the output function to find the values of y at other x values. Is it possible?

Accepted Answer

Star Strider
Star Strider on 18 Mar 2019
There are several ways. Probably the easiest in the context of what you are doing is to use the procedure defined in: Predict or Simulate Responses Using a Nonlinear Model (link).
  2 Comments
Star Strider
Star Strider on 18 Mar 2019
It does, and is part of the documentation I linked to. It is the easiest way to simulate your fitted function.

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!