From: Narendra on 17 May 2010 06:57 Is it possible to perform double integration, where the inner function depends upon the combination of outer variable limits. Is there any integration function (Like quad ) give output as a function of x after doing integration with respect to y for given limits... For Given f(x,y)= x*y+y^2 when x-y>0 , f(x,y)= x*y o.w. Limits of X=0 to 1 and Y=0 to 1 Find Integration [{Integration ( f (x,y) ) dy }^2 ] x dx ... I use syms , splitting the fun on y=x and i find >> syms s y int(((int(x*y+y^2,y,0,x)+int(x*y,y,x,1))^2)*x,x,0,1) ans = 19/144... Here the issue is .. -I want to incorporate fun with if statement. -f(x,y) is bunch of available statistical functions.. for variable input. Thanks in anticipation..
|
Pages: 1 Prev: Linking Problem Simulink and dSPACE Next: Probit marginal effects |