Maximal Function Evaluations Change

조회 수: 9 (최근 30일)
Szymon Cedrowski
Szymon Cedrowski 2018년 4월 16일
편집: Szymon Cedrowski 2018년 4월 17일
Hi everybody! Is there any possibility to change number of Maximal Function Evaluations in integral3 function? It's really important in a problem that I'm struggling with :/ Is it possible to change it in a source code of this function or in any other way? I'm counting on your help, Szymon
  댓글 수: 1
Torsten
Torsten 2018년 4월 17일
Maybe by reducing the precision for the solution.

댓글을 달려면 로그인하십시오.

답변 (2개)

Amjad Green
Amjad Green 2018년 4월 17일
i'm not sure what max you want but the source code for (int3) is unavailable to edit the following code does the same job using (int) only
syms x y z %assume f=x*y*zdxdydz f1=int(f,x,xmin,xmax) f1=int(f,y,ymin,ymax) f1=int(f,z,zmin,zmax)
you can then use max to find the maximums in the array

Szymon Cedrowski
Szymon Cedrowski 2018년 4월 17일
편집: Szymon Cedrowski 2018년 4월 17일
I'm talking about this warning:
Warning: Reached the maximum number of function evaluations (10000). The result passes the global error test. > In integral2Calc>integral2t (line 136)
Some of integrals included in my code aren't possible to calculate with this number of function evaluations (10000) and I get an error from time to time. I would like to increase this quantity, f.ex in the source code of integral3.m, because in default I can't change it by adding one argument, when I call integral3().

카테고리

Help CenterFile Exchange에서 Functional Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by