how can fix this problem of interp1 line 184

1 visualización (últimos 30 días)
Pengju
Pengju el 5 de En. de 2015
Respondida: Torsten el 5 de En. de 2015
??? Error using ==> interp1 at 184 There should be at least two data points.
Error in ==> POP at 234 sqp(ii,:)=interp1(1:nzpr(ii),iraraw(ii,1:nzpr(ii)),linspace(1,nzpr(ii),N),'spline');

Respuestas (1)

Torsten
Torsten el 5 de En. de 2015
Looks that you provide arrays to interp1 for interpolation that are empty or only contain one element.
Best wishes
Torsten.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by