A technical note has been written on how to do double integration in MATLAB. It can be found on the ftp site in pub/tech-support/tech-notes/math2.txt.