Numerical integration functions can approximate the value of an integral whether or not the functional expression is known:
For differentiation, you can differentiate an array of data using gradient, which uses a finite difference formula to calculate numerical derivatives. To calculate derivatives of functional expressions, you must use the Symbolic Math Toolbox™ .
Đang xem: Integral function matlab
|integral2||Numerically evaluate double integral|
|integral3||Numerically evaluate triple integral|
|quadgk||Numerically evaluate integral — Gauss-Kronrod quadrature|
|quad2d||Numerically evaluate double integral — tiled method|
Integration to Find Arc Length
This example shows how to parametrize a curve andcompute the arc length using integral.
Complex Line Integrals
This example shows how to calculate complex line integrals using the “Waypoints” option of the integral function.
Singularity on Interior of Integration Domain
This example shows how to split the integration domain to place a singularity on the boundary.
Analytic Solution to Integral of Polynomial
This example shows how to use the polyint function to integrate polynomial expressions analytically.
Integration of Numeric Data
This example shows how to integrate a set of discrete velocity data numerically to approximate the distance traveled.
Calculate Tangent Plane to Surface
This example shows how to approximate gradients of a function by finite differences.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
Select web site
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other wnyrails.org country sites are not optimized for visits from your location.
Contact your local office
Introducing Deep Learning with MATLABDownload ebook
Accelerating the pace of engineering and science
wnyrails.org is the leading developer of mathematical computing software for engineers and scientists.