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 ExchangeGet 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