Index in position 2 exceeds array bounds
Afficher commentaires plus anciens
[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 commentaires
madhan ravi
le 14 Nov 2018
upload your excel file
Edmund Sam-Gyandoh
le 14 Nov 2018
madhan ravi
le 14 Nov 2018
No you have not.
Edmund Sam-Gyandoh
le 14 Nov 2018
Star Strider
le 14 Nov 2018
The code you posted, with the file you attached (‘A.xlsx’), runs for me without error in R2018b.
Edmund Sam-Gyandoh
le 14 Nov 2018
madhan ravi
le 14 Nov 2018
works for me too 2018b
Edmund Sam-Gyandoh
le 14 Nov 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!