"Error using griddedInterpolant .The sample points must be finite."
24 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Prajwal Gowdru Shanthamurthy
le 21 Oct 2020
Modifié(e) : Piet
le 16 Déc 2024
load samplefile.mat
interp_horizontal_radiation = interp1(time_sec,horizontal_radiation,interp_time_sec);
On using interp1 for the data set in mat file samplefile.mat, I get an error saying :
"Error using griddedInterpolant .The sample points must be finite."
All 3 argument inputs to interp1 are column vectors of double values. The double values contained in these vectors are finite. The column vectors are of finite length. I don't understand why this error pops up. Could anyone explain what is going wrong ? Thanks in advance.
0 commentaires
Réponse acceptée
Walter Roberson
le 21 Oct 2020
>> time_sec(95)
ans =
NaN
>> horizontal_radiation(95)
ans =
NaN
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Calendar dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!