interp1 find values at axis zero problem The grid vectors must contain unique points.
조회 수: 1 (최근 30일)
이전 댓글 표시
Voc=interp1(I,V,0);
it is a simple code, it runs with the first 2 sets of data but it doesn't run with the third.
someone help.
thanks
댓글 수: 4
Rik
2020년 2월 15일
Have you checked if all the values are unique? You can make them unique by adding eps to one of the duplicates.
채택된 답변
Walter Roberson
2020년 2월 16일
The below entry numbers ignore the header line (so they refer to array indices)
Entry #102 occurs again at #111
Entry #105 occurs again at #108
Entry #113 occurs again at #128
Entry #101 occurs again at #117 and #119
댓글 수: 0
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!