how reduce time of numerical integral?

6 visualizaciones (últimos 30 días)
Brede roberson
Brede roberson el 7 de Feb. de 2016
Respondida: Brede roberson el 7 de Feb. de 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));

Respuesta aceptada

Brede roberson
Brede roberson el 7 de Feb. de 2016
by using A=vpa(int(f(x),a,b),4);

Más respuestas (0)

Categorías

Más información sobre MATLAB 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