how can fix this problem of interp1 line 184
조회 수: 1 (최근 30일)
이전 댓글 표시
??? 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');
댓글 수: 0
답변 (1개)
Torsten
2015년 1월 5일
Looks that you provide arrays to interp1 for interpolation that are empty or only contain one element.
Best wishes
Torsten.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!