exponential in matlab

Status
Not open for further replies.

rameshrai

Member
Hi,
When using exponential function with 90 degree I get the following

>> exp(i*90)

ans =

-0.4481 + 0.8940i

I expect cos(90)+i sin(90) = 0 +i = i

What am I missing?

thanks
 
You will need to convert to radians first. 90 degrees is 1.5708 radians (that is 90 / 180 * PI = 1.5708)
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…