Can i make Matlab calculate the error of integration

10 visualizaciones (últimos 30 días)
Maximilian Jatzkowski
Maximilian Jatzkowski el 7 de En. de 2019
Respondida: Vishal Bhutani el 10 de En. de 2019
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?

Respuestas (1)

Vishal Bhutani
Vishal Bhutani el 10 de En. de 2019
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.

Categorías

Más información sobre Splines en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by