Effacer les filtres
Effacer les filtres

help for the Gaussian Quadrature Integration

2 vues (au cours des 30 derniers jours)
Jong-Hwan Kim
Jong-Hwan Kim le 16 Août 2012
Hi, all
I have a problem with using the Gaussian quadrature integration. I need to integrate time based- data, which is not function and a 3000*1 matrix data, The data comes out from the sensor with a time step of 0.625 sec. The trapezoid function was fine to provide the same size of matrix data for the output.
[output] = 0.625*cumtrapz(data)
However, In order to integrate 3000*1 matrix data, how can I use quadratic functions such as quadv, quadl, quadgk? Thank you in advance.
Jong

Réponse acceptée

Matt Fig
Matt Fig le 16 Août 2012
For discrete data, I recommend you check out this package. With it you can model your data then integrate the model.
  1 commentaire
Jong-Hwan Kim
Jong-Hwan Kim le 17 Août 2012
Thank you very much. It is kind of hard for me to follow the instruction, but I think your way is right. Thank you. :)

Connectez-vous pour commenter.

Plus de réponses (0)

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!

Translated by