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

조회 수: 1 (최근 30일)
Chris
Chris 2022년 12월 1일
답변: Walter Roberson 2022년 12월 2일
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