Hi, I have a problem about integral operation. I'd like to do 2-dimensional integral calculation with reference matrix A. For example,
N=10; A = ones(N,N); fun = @(x,y) x+y+A(round(x),round(y)); ans = integral2(fun,1,N,1,N);
I'd like to refer a value from matrix A while doing integral operation. But this program doesn't work.
If you have some solution or comments, please let me know.
Regards, Haruka
Best Answer