Index in position 2 exceeds array bounds
이전 댓글 표시
[exp_data1,~,~]= xlsread('../Experimental_Data/DBDA_Prediction.xlsx','-16','A2:E242')
[exp_data2,~,~]= xlsread('../Experimental_Data/DBDA_Prediction.xlsx','-16','F2:G242'); %temperature
T_data = spline(exp_data2(:,1),exp_data2(:,2),exp_data1(:,1)); %time-temperature matching
댓글 수: 8
madhan ravi
2018년 11월 14일
upload your excel file
Edmund Sam-Gyandoh
2018년 11월 14일
madhan ravi
2018년 11월 14일
No you have not.
Edmund Sam-Gyandoh
2018년 11월 14일
Star Strider
2018년 11월 14일
The code you posted, with the file you attached (‘A.xlsx’), runs for me without error in R2018b.
Edmund Sam-Gyandoh
2018년 11월 14일
madhan ravi
2018년 11월 14일
works for me too 2018b
Edmund Sam-Gyandoh
2018년 11월 14일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!