pEz(k,j)=dblquad(@(x,y) (Pez(k,j).*exp(-2*pi.*((fxx(k,j)*x)+(fyy(k,j)*y))*1i)),1,length(Pez),1,length(Pez));

4 件のコメント

Ameer Hamza
Ameer Hamza 2018 年 5 月 20 日
What is the problem? Provide the error message from MATLAB.Copy everything in red text.
John D'Errico
John D'Errico 2018 年 5 月 20 日
What problem might you behaving? Must we guess? In fact, my guess is to ask why you are using dblquad to do this at all? I ask that because dblquad is not used to integrate data. As well, dblquad will not be appropriate for complex valued functions.
Sabrine Essid
Sabrine Essid 2018 年 5 月 20 日
also when i used integral2 i meet a problem Warning: Reached the maximum number of function evaluations (10000). The result passes the global error test. > In integral2Calc>integral2t (line 136) In integral2Calc (line 9) In integral2 (line 106) In pwsfinal (line 114)
Jan
Jan 2018 年 5 月 20 日
[MOVED from flags] Sabrine Essid wrote:
this is my problem Warning: Maximum function count exceeded; singularity likely.
@Sabrine: Please use flags only to inform admins and editors about inappropriate messages, e.g. spam or rudeness. Thanks.

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

 採用された回答

Jan
Jan 2018 年 5 月 20 日

0 投票

The error message sounds clear:
Maximum function count exceeded; singularity likely
Check, if there is a singularity in your function. Then an integration will fail.
If you provide the input data and functions, the readers in the forum could check it.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Matrix Computations についてさらに検索

質問済み:

2018 年 5 月 20 日

回答済み:

Jan
2018 年 5 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by