SIMPSUM

Next to TRAPZ should be SIMPSON integration.
ダウンロード: 4.4K
更新 2004/8/19

ライセンスがありません

If you want to integrate numerically an analytical function, you can use QUAD or similar. However, if you want to integrate already sampled data (equidistantly), and if the data are sufficiently smooth, instead of TRAPZ you will prefer SIMPSUM, numerical integration by Simpson method. It works on vectors and matrices (columnwise), calculates the average value of the sampled data, or simpson integral itself, if you supply the range(s) of independent variable(s). If you have nonequally spaced, but still smooth data, you can first resample them equidistantly with the help of some interpolation program like interp1(...'spline') and then apply SIMPSUM.

引用

Vassili Pastushenko (2024). SIMPSUM (https://www.mathworks.com/matlabcentral/fileexchange/5721-simpsum), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R13SP1
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCalculus についてさらに検索
謝辞

ヒントを与えたファイル: CUMSIMPSUM

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0