how reduce time of numerical integral?

6 ビュー (過去 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 Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by