When I used "gamfit(data)", it says "X must be non-negative."
1 view (last 30 days)
Show older comments
Chris on 1 Dec 2022
Answered: Walter Roberson on 2 Dec 2022
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 on 2 Dec 2022
[r, c, s] = find(data<0);
compose("Row %d column %d contains %g", r, c, s)
More Answers (0)
Find more on Gamma Distribution 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!