필터 지우기
필터 지우기

Complex number with exponential

조회 수: 6 (최근 30일)
Abdullah Azzam
Abdullah Azzam 2021년 3월 8일
댓글: Walter Roberson 2021년 3월 8일
I am trying to solve this equation however matlab isn't returning any solution. The equation is as follow:
Y=2/(exp(Ci)+exp(-Ci)) where C is constant and i is the imaginary number
I tried using the complex function but it doesn't give correct answer when combined with exp.
  댓글 수: 3
Abdullah Azzam
Abdullah Azzam 2021년 3월 8일
Just find the value of Y
Walter Roberson
Walter Roberson 2021년 3월 8일
Y = 2./(exp(C*1i)+exp(-C*1i))
In vectorized form.
Or
Y = 1./cosh(C)

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2021년 3월 8일
Y = 1/cosh(C)
cosh(C) * Y = 1
cosh(C) = 1/Y
C = acosh(1/Y)

카테고리

Help CenterFile Exchange에서 Particle & Nuclear Physics에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by