int(f,a,b)

バージョン 2.0.0.0 (4.51 KB) 作成者: Mark Holmes
This program computes the integral of f(x) from x=a to x=b using an adaptive Simpson's rule.
ダウンロード: 76
更新 2016/3/9

ライセンスの表示

This program computes the integral of f(x) from x=a to x=b using an adaptive Simpson's rule. It is run by simply using the command int(@f,a,b) where f is defined using a function file (or procedure), or as an anonymous function. MATLAB vectorization is not used when defining the function.

引用

Mark Holmes (2024). int(f,a,b) (https://www.mathworks.com/matlabcentral/fileexchange/55747-int-f-a-b), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2016a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersNumerical Integration and Differential Equations についてさらに検索
タグ タグを追加
謝辞

ヒントを与えたファイル: Fourier Series Transform and Piecewise Plotter

Community Treasure Hunt

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

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

revised to speed code up, and added a small a procedure to handle badly scaled functions

1.0.0.0