Effacer les filtres
Effacer les filtres

Can MATLAB solve a integrodifferential equation?

1 vue (au cours des 30 derniers jours)
Sergio Manzetti
Sergio Manzetti le 20 Nov 2017
Commenté : GNANASEKARAN S le 24 Mai 2022
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

Réponse acceptée

Torsten
Torsten le 20 Nov 2017
u = 1/int(y*z,x,0,2*pi)
Best wishes
Torsten.
  21 commentaires
Sergio Manzetti
Sergio Manzetti le 6 Déc 2017
Thanks Torsten!
GNANASEKARAN S
GNANASEKARAN S le 24 Mai 2022
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by