how to suppress errors when try to fit distributions with in a for loop

2 次查看(过去 30 天)
Hello community,
I have like 89,000 different dataset and I have a for loop that fits 14 distributions and writes the details of the distributions for each dataset. All datasets are real positive values. When it tries Rician I got an error message (The parameter S must be a nonnegative finite numeric scalar) and the loop stops. Is there anyway to suppress the error message and keep the loop runs to the end?
Many thanks and regards Nikos

回答(1 个)

Bernhard Suhm
Bernhard Suhm 2018-8-4
If you're still having problems, maybe the answer to this related question helps.

Community Treasure Hunt

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

Start Hunting!

Translated by