Error trying to fit data to gaussian function: Inf computed by model function, fitting cannot continue

2 views (last 30 days)
I've got a large number of Datapakets. Some of them are working, while other return the Error.
I can't find any Wrong Data and got no idea, how to fix the Problem.
  1 Comment
Torsten
Torsten on 28 May 2024
Edited: Torsten on 28 May 2024
If you don't include your data and your code, we don't know either.
Maybe in the evaluation of exp(...), the (...) becomes too large.

Sign in to comment.

Answers (0)

Categories

Find more on Linear and Nonlinear Regression in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!