How to avoid NaN when summing up vectors?
Afficher commentaires plus anciens
Hi,
Im trying to make some discrete integrals using trapz or even just using riemann sums, but I cant avoid getting NaN as a result. And the vector Im trying to integrate has no NaN values... Matlab can plot it perfectly without problems, values are well bounded but just cant sum up the total value.
Any help?
Réponse acceptée
Plus de réponses (1)
Raimundo De Mussy
le 1 Déc 2011
0 votes
Catégories
En savoir plus sur Numerical Integration and Differentiation 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!