フィルターのクリア

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

4 ビュー (過去 30 日間)
Chris Lin
Chris Lin 2021 年 8 月 9 日
コメント済み: Walter Roberson 2021 年 8 月 11 日
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 件のコメント
Chunru
Chunru 2021 年 8 月 9 日
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 2021 年 8 月 9 日
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.

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

回答 (1 件)

Walter Roberson
Walter Roberson 2021 年 8 月 9 日
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 件のコメント
Chris Lin
Chris Lin 2021 年 8 月 11 日
How to solve this situation ?
Walter Roberson
Walter Roberson 2021 年 8 月 11 日
The only solution in that case is f(x) = 0

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

カテゴリ

Help Center および File ExchangeConversion Between Symbolic and Numeric についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by