필터 지우기
필터 지우기

help for the Gaussian Quadrature Integration

조회 수: 2 (최근 30일)
Jong-Hwan Kim
Jong-Hwan Kim 2012년 8월 16일
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

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by