Hi.. I a trying to evaluate the integral in matlab but not able to getting error in matlab. code is given below:
fun= @(x, y) x.*exp(-y.*x);c= @(y)integral(@(x) fun, 0,1);fun1= @(y) 1/2-(1/pi).*y.*c;c1 = integral(fun1, 0,1);
Could any one can help me regard this. Any suggestions will be appreciated. Thanks in advance.
Best Answer