how reduce time of numerical integral?

조회 수: 9 (최근 30일)
Brede roberson
Brede roberson 2016년 2월 7일
답변: Brede roberson 2016년 2월 7일
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