フィルターのクリア

Calculate integral from eular formula

1 回表示 (過去 30 日間)
Chris Lin
Chris Lin 2021 年 8 月 8 日
コメント済み: John D'Errico 2021 年 8 月 9 日
How to use matlab to calculate this integral:integral(x=-10 to 0) sin(x) exp(x) exp(-ix) + integral(x = 0 to 10) sin(x) exp(-x) exp(-ix)
  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 月 8 日
syms x
part1 = int(sin(x)*exp(x)*exp(-1i*x), x, -10, 0)
part1 = 
part2 = int(sin(x)*exp(-x)*exp(-1i*x), x, 0, 10)
part2 = 
overall1 = simplify(part1 + part2)
overall1 = 
or...
syms x
overall2 = simplify(int(sin(x)*exp(-abs(x))*exp(-1i*x), x, -10, 10))
overall2 = 
isAlways(overall1 == overall2)
ans = logical
1
  2 件のコメント
Chris Lin
Chris Lin 2021 年 8 月 9 日
what is the meaning of 'simplify'?thx
Walter Roberson
Walter Roberson 2021 年 8 月 9 日

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

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by