poly1 gives error "insufficient data"

I'm using poly11 to fit some data and keep getting this error
Error using fit>iFit (line 269)
Insufficient data.
You need at least 2 data points to fit this model.
Do you know what causes this? Thanks. The array is called data and when I check its dimensions, it seems as if there is enough data.
[nx ny] = size(data)
nx =
9
ny =
32768
What casuses this?

댓글 수: 3

Mathieu NOE
Mathieu NOE 2021년 9월 30일
hello
please post the entire ode including the data
tx
Mathieu NOE
Mathieu NOE 2021년 9월 30일
sorry typo
I meant :
please post the entire code including the data
Mahesh Taparia
Mahesh Taparia 2021년 10월 9일
편집: Mahesh Taparia 2021년 10월 9일
Hi
Can you share the code which you have used?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2021년 9월 30일

편집:

2021년 10월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by