NAN of matrix
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
e(4957) gives NAN in my code ..EXP(OF SOME LARGE VALUE) GIVES NAN,...what 2 do ?
0 commentaires
Réponse acceptée
Paulo Silva
le 8 Sep 2011
No e(4957) isn't exponential of that number, your e is a variable and you are calling the value at index 4957, exponential is done with the exp expression exp(4987) gives Inf
1 commentaire
Walter Roberson
le 8 Sep 2011
Or possibly e is a function instead of a variable. But it certainly isn't the same as exp() whatever it is.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur NaNs 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!