Filter löschen
Filter löschen

calculate g(k)=integral(-infinite to +infinite)​f(x)*(e^(-​alxl))*e^(​-ikx)

4 Ansichten (letzte 30 Tage)
Chris Lin
Chris Lin am 9 Aug. 2021
Kommentiert: Walter Roberson am 11 Aug. 2021
Assume f(x+1)=f(x),how to calculate g(k)=integral(-infinite to +infinite)f(x)*(e^(-alxl))*e^(-ikx) in matlab.
Then,input different a and k in matlab to try to find different integral values.
  2 Kommentare
Chunru
Chunru am 9 Aug. 2021
Are you sure the problem is well-defined? f(x+1)=f(x) indicate f(x) is an arbitrary periodic function with period of 1.
John D'Errico
John D'Errico am 9 Aug. 2021
PLEASE STOP ASKING THIS SAME QUESTION. This is the 9'th time you have asked it.
You are now becoming a spammer on the site.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 9 Aug. 2021
syms x a k
syms f(x)
assume(a>0)
f(x) = sin(2*pi*x) + cos(6*pi*x)
f(x) = 
inner = f(x)*exp(-a*abs(x))*exp(-1i*k*x)
inner = 
g(k) = int(inner, x, -inf, inf)
g(k) = 
Notice that the limit() portions involve sin(2*pi*x) as x goes to infinity. However, that is not defined, so the limit does not exist, so the integral is not defined.
What about constant f(x) ?
f(x) = 5
f(x) = 
5
inner = f(x)*exp(-a*abs(x))*exp(-1i*k*x)
inner = 
g(k) = int(inner, x, -inf, inf)
g(k) = 
expand(rewrite(g,'sincos'))
ans(k) = 
... and we have the same problem, we have sin() and cos() of something involving x as x goes to infinity.
Your exp(-1i*k*x) is a phase term, and for constant k, as x goes to infinity you get infinite phase, which does not have a limit . The only way that you can get a definite integral in your f(x)*exp(-a*abs(x))*exp(-1i*k*x) expression as x goes to infinity, is if f(x) has a limit of 0. But we know that f(x+1) = f(x), so as x approaches infinity, for the limit f(x) to be 0, limit f(x) would have to be 0, so f(x) would have to be 0.
  13 Kommentare
Chris Lin
Chris Lin am 11 Aug. 2021
How to solve this situation ?
Walter Roberson
Walter Roberson am 11 Aug. 2021
The only solution in that case is f(x) = 0

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by