Evaluating a complex integral
Afficher commentaires plus anciens
Hello I'm trying to integrate the following function in MATLAB
but it's returing the wrong answer when I try something like 
This is what I have tried so far:
fun = @(t,x,y) exp(1i.*(t.^4+x.*t.^2+y.*t));
P = @(x,y) integral(@(t)fun(t,x,y),-Inf,Inf);
P(1,1)
Any help appreciated and many thanks in advance
3 commentaires
madhan ravi
le 14 Fév 2019
what’s the exact answer?
Torsten
le 15 Fév 2019
exp(i*(t^4+x*t^2+y*t)) does not tend to 0 as | t| -> Inf. Thus your integral does not exist (at least in the usual sense).
Michael Devereux
le 15 Fév 2019
Réponse acceptée
Plus de réponses (1)
Abhishek Hullur
le 8 Août 2021
0 votes
. Evaluate
around the rectangle with vertices 
around the rectangle with vertices 
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!