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

1 Ansicht (letzte 30 Tage)
Chris
Chris am 1 Dez. 2022
Beantwortet: Walter Roberson am 2 Dez. 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?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 2 Dez. 2022
[r, c, s] = find(data<0);
compose("Row %d column %d contains %g", r, c, s)

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by