When I used "gamfit(data)", it says "X must be non-negative."
3 次查看(过去 30 天)
显示 更早的评论
I have 45000*1 data table and all of values are non negative.
When I used "gamfit(data)", it says "X must be non-negative." Would you help me please?
采纳的回答
Walter Roberson
2022-12-2
[r, c, s] = find(data<0);
compose("Row %d column %d contains %g", r, c, s)
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 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!