matlab command for complex exponential function.
27 views (last 30 days)
Show older comments
how to write complex exponential function in matlab
0 Comments
Accepted Answer
James Tursa
on 17 Jun 2014
The exp function works for complex inputs:
>> z = 1 + 2i
z =
1.0000 + 2.0000i
>> exp(z)
ans =
-1.1312 + 2.4717i
If you want something else you will need to be more specific with your question.
2 Comments
James Tursa
on 18 Jun 2014
x = 2 column array of magnitude and argument
x(:,1).*exp(1j*x(:,2))
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!