how reduce time of numerical integral?

2 vues (au cours des 30 derniers jours)
Brede roberson
Brede roberson le 7 Fév 2016
my Numerical Solution of Integral takes a lot of time. While I need accuracy to four decimal places for answer . How do I reduce the decimal precision of integrator answer to reduce time ? for example:
A=double(int(f(x),a,b));

Réponse acceptée

Brede roberson
Brede roberson le 7 Fév 2016
by using A=vpa(int(f(x),a,b),4);

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by