Borrar filtros
Borrar filtros

Complex number with exponential

6 visualizaciones (últimos 30 días)
Abdullah Azzam
Abdullah Azzam el 8 de Mzo. de 2021
Comentada: Walter Roberson el 8 de Mzo. de 2021
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 comentarios
Abdullah Azzam
Abdullah Azzam el 8 de Mzo. de 2021
Just find the value of Y
Walter Roberson
Walter Roberson el 8 de Mzo. de 2021
Y = 2./(exp(C*1i)+exp(-C*1i))
In vectorized form.
Or
Y = 1./cosh(C)

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 8 de Mzo. de 2021
Y = 1/cosh(C)
cosh(C) * Y = 1
cosh(C) = 1/Y
C = acosh(1/Y)

Categorías

Más información sobre Particle & Nuclear Physics en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by