When I used "gamfit(data)", it says "X must be non-negative."

1 次查看(过去 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
Walter Roberson 2022-12-2
[r, c, s] = find(data<0);
compose("Row %d column %d contains %g", r, c, s)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by