フィルターのクリア

Double Integral for Discrete Function

7 ビュー (過去 30 日間)
Raees
Raees 2016 年 8 月 17 日
コメント済み: Raees 2016 年 8 月 19 日
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.

採用された回答

Torsten
Torsten 2016 年 8 月 17 日
Take a look at the example "Multiple Numerical Integrations" under
Best wishes
Torsten.
  7 件のコメント
Torsten
Torsten 2016 年 8 月 18 日
編集済み: Torsten 2016 年 8 月 18 日
I just chose an analytical function form to create the matrix F for the sake of convenience.
F can be any matrix you like, as long as F has dimension
(length(y)) x (length(x))
Best wishes
Torsten.
Raees
Raees 2016 年 8 月 19 日
Thanks, Torsten. This time, it worked. So nice of you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEigenvalue Problems についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by