Integration of discrete data which have a non-linear relationship
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
J.S.
le 11 Juin 2018
Réponse apportée : Anton Semechko
le 12 Juin 2018
In the https://www.mathworks.com/help/matlab/math/integration-of-numeric-data.html documentation page, it is noted that non-linear behavior between the discrete data points being integrated could result in inaccuracy when trapz is used. Is there a better function call to use for such an instance, instead?
0 commentaires
Réponse acceptée
Anton Semechko
le 12 Juin 2018
Numerical integration based on Simpson's rule provides greater accuracy than integration using trapezoidal rule. Here is an implementation of Simpson's rule from Matlab's Central File Exchange: Simpson's rule for numerical integration
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Numerical Integration and Differentiation 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!