simpsonQuadrature

バージョン 1.2.0.0 (825 Bytes) 作成者: Matthew Kelly
Computes the integral of a function using Simpson quadrature
ダウンロード: 406
更新 2015/12/13

ライセンスの表示

% x = simpsonQuadrature(fun,tLow,tUpp,n)
%
% This function uses simpson quadrature over each of n uniform segments to
% approximate the integral of fun(t) on the interval tLow <= t <= tUpp
%
% INPUTS:
% fun = function handle
% f = fun(t)
% t = [1, nt] = time query points on [a,b]
% f = [nx, nt] = vector function at query points
% tLow = scalar lower bound on time
% tUpp = scalar upper bound on time
% n = number of segments to divide interval into
%
% OUTPUTS:
% x = [nx, 1] = integral along each dimension
%

引用

Matthew Kelly (2024). simpsonQuadrature (https://www.mathworks.com/matlabcentral/fileexchange/54457-simpsonquadrature), MATLAB Central File Exchange. 取得済み .

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

ヒントを得たファイル: Simpson's rule for numerical integration, Simpson's Rule Integration

ヒントを与えたファイル: Composite Simpson's rule for irregularly spaced data

Community Treasure Hunt

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

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

added reference to existing simpson quadrature routine on file exchange.

1.1.0.0

added photo

1.0.0.0