fitnlm either runs perfectly or crashes with nearly identical data
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!