Maximal Function Evaluations Change

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

回答(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().

Community Treasure Hunt

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

Start Hunting!

Translated by