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

2 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by