Error using cellfun/wblfit
显示 更早的评论
Hi! I'm trying to apply weibull parameter estimate to every coloumn except for the first one i have on a table. Am I using the syntax correctly?
TtrnPosArray = table2array(TtrnPos);
C = num2cell(TtrnPosArray,1)
fitTableWbl = cellfun(@wblfit, C(:,2:171))

Thanks.
回答(1 个)
Divya Gaddipati
2020-11-2
0 个投票
Make sure your TtrnPosArray contains only positive values. You could remove/replace the columns which consist of non-positive numbers.
类别
在 帮助中心 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!