Can i make Matlab calculate the error of integration

12 次查看(过去 30 天)
When using integral(f,x0,x) on a function created with spline, so with a limited set of points, how can i calculate the error between this integral value and the true integral value?

回答(1 个)

Vishal Bhutani
Vishal Bhutani 2019-1-10
Based on my understanding you want to obtain the difference between the true integral value and the integral value from MATLAB function. You can try taking the absolute difference between them and store it in a variable. The link attached below might help you.

类别

Help CenterFile Exchange 中查找有关 Splines 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by