4 added 120 characters in body
source | link

I am trying to find coefficient of an exponent term in an expression. For example, consider

tt = E^(I*T0*(ω+σ));

Doing

Coefficient[tt, E^(I*T0*(ω+σ))]
(* 1 *)

gives 1. However,

Coefficient[tt, E^(I*T0*ω)]
(* 0 *)

this returns 0. How do I obtain $e^{i*T0*\sigma}$ as output instead of $0$?

I thought PowerExpand will work, but it also did not. I couldn't find the command to expand exponents.

PS: The expression tt is just a dummy expression, my original expression is really big and contains a lot of terms.

I am trying to find coefficient of an exponent term in an expression. For example, consider

tt = E^(I*T0*(ω+σ));

Doing

Coefficient[tt, E^(I*T0*(ω+σ))]
(* 1 *)

gives 1. However,

Coefficient[tt, E^(I*T0*ω)]
(* 0 *)

this returns 0. How do I obtain $e^{i*T0*\sigma}$ as output instead of $0$?

I thought PowerExpand will work, but it also did not. I couldn't find the command to expand exponents.

I am trying to find coefficient of an exponent term in an expression. For example, consider

tt = E^(I*T0*(ω+σ));

Doing

Coefficient[tt, E^(I*T0*(ω+σ))]
(* 1 *)

gives 1. However,

Coefficient[tt, E^(I*T0*ω)]
(* 0 *)

this returns 0. How do I obtain $e^{i*T0*\sigma}$ as output instead of $0$?

I thought PowerExpand will work, but it also did not. I couldn't find the command to expand exponents.

PS: The expression tt is just a dummy expression, my original expression is really big and contains a lot of terms.

3 deleted 51 characters in body
source | link

I am trying to find coefficient of an exponent term in an expression. For example, consider

in: $tt = e^{i*T0*(\omega + \sigma)};$

tt = E^(I*T0*(ω+σ));

Doing

in: $\text{Coefficient}[tt, e^{i*T0*(\omega + \sigma)}]$

out: 1

Coefficient[tt, E^(I*T0*(ω+σ))]
(* 1 *)

gives 1. However,

in: $\text{Coefficient}[tt, e^{i*T0*\omega}]$

out: 0

Coefficient[tt, E^(I*T0*ω)]
(* 0 *)

this returns $0$0. How do I obtain $e^{i*T0*\sigma}$ as output instead of $0$?

I thought PowerExpandPowerExpand will work, but it also did not. I couldn't find the command to expand exponents  .

I am trying to find coefficient of an exponent term in an expression. For example, consider

in: $tt = e^{i*T0*(\omega + \sigma)};$

Doing

in: $\text{Coefficient}[tt, e^{i*T0*(\omega + \sigma)}]$

out: 1

gives 1. However,

in: $\text{Coefficient}[tt, e^{i*T0*\omega}]$

out: 0

this returns $0$. How do I obtain $e^{i*T0*\sigma}$ as output instead of $0$?

I thought PowerExpand will work, but it also did not. I couldn't find the command to expand exponents  

I am trying to find coefficient of an exponent term in an expression. For example, consider

tt = E^(I*T0*(ω+σ));

Doing

Coefficient[tt, E^(I*T0*(ω+σ))]
(* 1 *)

gives 1. However,

Coefficient[tt, E^(I*T0*ω)]
(* 0 *)

this returns 0. How do I obtain $e^{i*T0*\sigma}$ as output instead of $0$?

I thought PowerExpand will work, but it also did not. I couldn't find the command to expand exponents.

2 edited body
source | link

I am trying to find coefficient of an exponent term in an expression. For example, consider

in: $tt = e^{i*T0*(\omega + \sigma)};$

Doing

in: $\text{Coefficient}[tt, e^{i*T0*(\omega + \sigma)}]$

out: 1

gives 1. However,

in: $\text{Coefficient}[tt, e^{i*T0*\omega}]$

out: 0

this returns $0$. How do I obtain $e^{i*T0*\sigma}$ as output instead of $0$?

I thought PowerExpand will work, but isit also did not. I couldn't find the command to expand exponents

I am trying to find coefficient of an exponent term in an expression. For example, consider

in: $tt = e^{i*T0*(\omega + \sigma)};$

Doing

in: $\text{Coefficient}[tt, e^{i*T0*(\omega + \sigma)}]$

out: 1

gives 1. However,

in: $\text{Coefficient}[tt, e^{i*T0*\omega}]$

out: 0

this returns $0$. How do I obtain $e^{i*T0*\sigma}$ as output instead of $0$?

I thought PowerExpand will work, but is also did not. I couldn't find the command to expand exponents

I am trying to find coefficient of an exponent term in an expression. For example, consider

in: $tt = e^{i*T0*(\omega + \sigma)};$

Doing

in: $\text{Coefficient}[tt, e^{i*T0*(\omega + \sigma)}]$

out: 1

gives 1. However,

in: $\text{Coefficient}[tt, e^{i*T0*\omega}]$

out: 0

this returns $0$. How do I obtain $e^{i*T0*\sigma}$ as output instead of $0$?

I thought PowerExpand will work, but it also did not. I couldn't find the command to expand exponents

1
source | link