zzzbbx
zzzbbx

Reputation: 10131

MATLAB difference between numerical integration functions

I need to integrate an expression using MATLAB. What is the difference between these functions?

QUAD, QUAD8, QUADL, DBLQUAD

Upvotes: 0

Views: 1180

Answers (1)

James Mertz
James Mertz

Reputation: 8759

If you look at the material provided form the Matlab site you'll see these explanations:

quad:

Numerically evaluate integral, adaptive Simpson quadrature

quadl:

Numerically evaluate integral, adaptive Lobatto quadrature

dblquad:

Numerically evaluate double integral over rectangle

I didn't look for quad8 as it wasn't readily available, but I'm sure that you'll be able to find it from here. Also each of the link provide a greater detail as to how they work exactly.

Upvotes: 2

Related Questions