필터 지우기
필터 지우기

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

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by