| Contents | Index |
Y = exp(X)
Y = exp(X) returns the exponential for each element of X. exp operates element-wise on arrays. For complex x + i * y, exp returns the complex exponential ez = ex(cos y + i sin y). Use expm for matrix exponentials.
Find the value of eiπ:
y=exp(i*pi)
returns
y = -1.0000 + 0.0000i
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |