Previous Up Next

10.2.21 Transforming trigonometric functions into complex exponentials

The trig2exp command replaces trigonometric functions by their complex exponential form.

Examples

trig2exp(tan(x))

ei x
2−1
i

ei x
2+1
          
trig2exp(sin(x))
ei x
1
ei x
2 i
          

Previous Up Next