poly1 gives error "insufficient data"

조회 수: 3 (최근 30일)
HC98
HC98 2021년 9월 30일
편집: Mahesh Taparia 2021년 10월 9일
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일
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개)

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by