Double Integral for Discrete Function
조회 수: 7 (최근 30일)
이전 댓글 표시
Dear All, I am solving a PDE in which I have to find the double integral of a discreet function. PDE has the following form:
where F(x,y) is a matrix of size (M,N), obtained by solving another PDE.
[F,x,y]=some_funtion_to_solve_PDE(some inputs);
I'll use some initial guess for G(x,y) within the integral which also gives me a matrix of the same size as F(x,y).
Here the integrand is a product of two discrete functions and the integral limits are numbers. Matlab built-in routine quad2d() requires the integrand to be a continuous function of x & y. Similarly, the other routines like integral2() also require continuous function expressions. I need help and suggestions on solving this double integral with discrete function, which will enable me to solve the PDE. Many Thanks.
댓글 수: 0
채택된 답변
Torsten
2016년 8월 17일
Take a look at the example "Multiple Numerical Integrations" under
Best wishes
Torsten.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Eigenvalue Problems에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!