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

1 view (last 30 days)
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

Answers (1)

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

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!