The integral method used in postprocessing Analysis of Curve fitting tool
2 ビュー (過去 30 日間)
古いコメントを表示
Hi, I want to know what is the exact scheme used in integral function in curve fitting tool. I found that in Help that it calls the function int. and int = integrate(fun,x,x0) integrates the cfit object fun at the points specified by the vector x, starting from x0, and returns the result in int. int is a vector the same size as x. x0 is a scalar.
I still dont know which scheme is used to do the integration, like Simpson quadrature or trapezoidal.
Anyone knows that? Thanks in advance :)
0 件のコメント
採用された回答
その他の回答 (1 件)
Jon Cherrie
2011 年 3 月 30 日
One of two techniques is used.
- For many of the parametric library models, e.g., exponential, Fourier series, the indefinite integral is computed from the coefficients. This is then evaluated to give the definite integral.
- For non-parametric models and custom equations, the quad function (adaptive Simpson quadrature) is used.
参考
カテゴリ
Help Center および File Exchange で Numerical Integration and Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!