fitnlm either runs perfectly or crashes with nearly identical data
Show older comments
I am using fitnlm to do a simple curve fit. Most of the time it runs perfectly, but every now and then nearly identical data will cause it to crash, and I am not sure why. Here is an example that runs perfectly:

Here is an example where it doesn't work. Both example codes are attached, along with the function "weibull.m" which defines the fit.

Thank you very much for your help with this. It really has be baffled.
1 Comment
Clay Swackhamer
on 7 Oct 2020
Accepted Answer
More Answers (0)
Categories
Find more on Dimensionality Reduction and Feature Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!