EXP function with imaginary number
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nguyen Trung Kien
el 3 de Sept. de 2018
Comentada: madhan ravi
el 4 de Sept. de 2018
I am working with Matlab to reproduce SAR image by radar. But when I calculate the EXP function, the result is so different.
>> exp(0.000000000000000e+00 - 8.378507193591911e+06i)
ans =
0.5122 + 0.8588i
>> exp(0.000000000000000e+00 - 8.378522834360446e+06i)
ans =
-0.4534 - 0.8913i
I do not know why in the result, one is negative, and one is positive. Please help me with this. Thank you so much for your consideration.
3 comentarios
Stephen23
el 3 de Sept. de 2018
Editada: Stephen23
el 3 de Sept. de 2018
There is nothing surprising about those results, their difference is more than 2*pi:
>> L = 8.378507193591911e+06;
>> R = 8.378522834360446e+06;
>> R-L
ans = 15.641
You can plot this easily, and see how that range includes real and imaginary parts that are both positive and negative:
>> V = linspace(L,R,100);
>> E = exp(complex(0,V));
>> plot(E,'-*')

>> M = [real(E(:)),imag(E(:))];
>> plot(V,M,'-*')

Respuesta aceptada
madhan ravi
el 3 de Sept. de 2018
I tried and got the same result too even the result in Wolfram is the same.
4 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!