What algorithm is being used by triplequad?
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
User45
am 15 Feb. 2018
Bearbeitet: John D'Errico
am 15 Feb. 2018
Does it use the adaptive Simpson quadrature method as used by the quad function when using the default settings?
0 Kommentare
Akzeptierte Antwort
John D'Errico
am 15 Feb. 2018
Bearbeitet: John D'Errico
am 15 Feb. 2018
When you have questions like this, LOOK AT THE HELP. READ IT! At the command line in MATLAB, try this:
help triplequad
doc triplequad
If you want more information, then
type triplequad
In either case, you will learn that quad is the tool used by default, but that if you prefer, you can also tell it to use other routines like quadl. You can use any quadrature scheme in fact, with only the requirement that it has the same calling sequence as those tools.
% Q = TRIPLEQUAD(FUN,XMIN,XMAX,YMIN,YMAX,ZMIN,ZMAX,TOL,@QUADL) uses
% quadrature function QUADL instead of the default QUAD.
Therefore quad is the default. quad is an implementation of an adaptive Simpson quadrature.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!