poly1 gives error "insufficient data"

6 visualizaciones (últimos 30 días)
HC98
HC98 el 30 de Sept. de 2021
Editada: Mahesh Taparia el 9 de Oct. de 2021
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 comentarios
Mathieu NOE
Mathieu NOE el 30 de Sept. de 2021
sorry typo
I meant :
please post the entire code including the data
Mahesh Taparia
Mahesh Taparia el 9 de Oct. de 2021
Editada: Mahesh Taparia el 9 de Oct. de 2021
Hi
Can you share the code which you have used?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by