cumquad

Version 1.0.0.0 (3,25 KB) von Adam Wyatt
Cumulative integration of analytical functions via adaptive simpsons quadrature.
2K Downloads
Aktualisiert 4. Jan 2007

Lizenz anzeigen

This function is an adaptation of Matlab's "quad" function to return the cumulative integration of an analytical function.

e.g. compute integral:
I(t) = int(0..t)[1/(tau^3 - 2*tau - 5) d_tau] for t=0..3

[I, t] = cumquad(@(tau) 1./(tau.^3-2*tau-5), 0, 3);

This function is almost identical to the quad.m function (v6 upward) except it returns the integral a..x where x=a..b and the corresponding x values.

Zitieren als

Adam Wyatt (2024). cumquad (https://www.mathworks.com/matlabcentral/fileexchange/13538-cumquad), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2006a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0