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

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

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

Products

Release

R2024a

Asked:

on 28 May 2024

Edited:

on 28 May 2024

Community Treasure Hunt

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

Start Hunting!