When I used "gamfit(data)", it says "X must be non-negative."
3 views (last 30 days)
Show older comments
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?
Accepted Answer
Walter Roberson
on 2 Dec 2022
[r, c, s] = find(data<0);
compose("Row %d column %d contains %g", r, c, s)
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!