Evaluating a complex integral
36 次查看(过去 30 天)
显示 更早的评论
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 个评论
Torsten
2019-2-15
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).
采纳的回答
Torsten
2019-2-15
format long
fun = @(t,x,y) exp(-t.^4 + 1i.*y.*t - x.*t.^2 + 1i*pi*0.125);
P = @(x,y) integral(@(t)fun(t,x*exp(-1i*pi*0.25),y*exp(1i*pi*0.125)),-Inf,Inf);
P(1,1)
Reference:
https://arxiv.org/pdf/1601.03615.pdf
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!