Le 19/05/2015 03:27, fujimoto2005 a écrit :
When I use the function 'intg', I have an message Too complex recursion!
(recursion tables are full) and the code stop to run.
But the user-function for the ‘intg’ calls only two user functions with same
level in it.
How can I fix this problem?
I
Hello,Serge Steer
My user function does't call 'intg'.
The following is a sample code for a demo.
But I have another error message.
clear
function rt=payoffFunc(fxSpot,fxTriger,fxFixed)
if fxSpot=10 then
fxSpot=10
end
rt=(fxFixed -fxSpot)
if
Hello,
- Mail original -
.../...
plCtrlEX1=intg(xmin_V,xTrig_V-%eps,list('payoffDenFunc',payD_V,fxValDate,fxTriger,fxFixed,mu,vol));
In the list, you may try specifying directly by its name the function to be
integrated, rather than through a string giving its name:
When I use the function 'intg', I have an message Too complex recursion!
(recursion tables are full) and the code stop to run.
But the user-function for the ‘intg’ calls only two user functions with same
level in it.
How can I fix this problem?
I already maximized the stack seize by