how reduce time of numerical integral?

9 次查看(过去 30 天)
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));

采纳的回答

Brede roberson
Brede roberson 2016-2-7
by using A=vpa(int(f(x),a,b),4);

更多回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by