Can MATLAB solve a integrodifferential equation?

1 回表示 (過去 30 日間)
Sergio Manzetti
Sergio Manzetti 2017 年 11 月 20 日
コメント済み: GNANASEKARAN S 2022 年 5 月 24 日
Hi, I have checked some posts on the forum, however to no avail.
I have the given system:
{
syms h g x C
h = 2
g = 4
C = 1/sqrt(2.*pi)
y = ((exp(2.*g.*i.*x./h)).*(((h.^2)./2) + (g.*x)/2.*h.*i));
z = ((exp(-2.*g.*i.*x./h)).*(((h.^2)./2) + (g.*x)/2.*h.*-i));
[int(y.*z*.u, x], 0, 2.*pi)]==1
} which should solve for u. Is it feasible with some modifications?
Thanks

採用された回答

Torsten
Torsten 2017 年 11 月 20 日
u = 1/int(y*z,x,0,2*pi)
Best wishes
Torsten.
  21 件のコメント
Sergio Manzetti
Sergio Manzetti 2017 年 12 月 6 日
Thanks Torsten!
GNANASEKARAN S
GNANASEKARAN S 2022 年 5 月 24 日
Dear Torsten,
I have the source term of the form u(1-int u) in two dimension. How to write the FDM code? Could you please tell.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by