Description Usage Arguments Value Examples
Trapeze integration from a vector of function values evaluated at quadrature points
1 | trapeze(x, fx)
|
x |
grid of values for the quadrature (vector). |
fx |
values of the function on the grid (vector). |
vector with a numerical approximation of \int_{min(x)}^{max(x)} f(t) dt on the grid using the trapeze method.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.