When I calculate exp(3.8566e5*1i) and exp(data*1i) answers are different why? Here, data=3.8566e5
Show older comments
>> Data
Data =
3.8566e+005
>> exp(1i*3.8566e5)
ans =
0.6076 + 0.7942i
>> exp(1i*Data)
ans =
1.0000 - 0.0000i
>>
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 10 Nov 2014
Why are yoy surprised? you are using two different numbers (3.8566 and 3.856). try this
Data =3.8566e+005
exp(1i*3.8566e5)
exp(1i*Data)
1 Comment
Prajan Pradhan
on 10 Nov 2014
Categories
Find more on Logical 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!