??? Error using ==> interp1 at 261 The values of X should be distinct. Error in ==> StallPower_20131029_S809 at 10 c=interp1(rc_table(:,2),rc_table(:,3),rad);
이전 댓글 표시
When i'm using iterp1 with rc_table, displaying this message
??? Error using ==> interp1 at 261
The values of X should be distinct.
Error in ==> StallPower_20131029_S809 at 10
c=interp1(rc_table(:,2),rc_table(:,3),rad);
What is the problem and its solution, Please?
rc_table :
1 1 0.345899000000000
2 1.50000000000000 0.712727000000000
3 2 0.661241000000000
4 2.50000000000000 0.609755000000000
5 3 0.560511000000000
6 3.50000000000000 0.511266000000000
7 4 0.459780000000000
8 4.50000000000000 0.408293000000000
9 5 0.356807000000000
10 5.50000000000000 0.308684000000000
댓글 수: 1
Walter Roberson
2013년 10월 30일
Could you check size(rc_table,1) and length(unique(rc_table(:,2)))
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!