R rameshrai Member Mar 16, 2014 #1 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
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
D dougy83 Well-Known Member Most Helpful Member Mar 16, 2014 #2 You will need to convert to radians first. 90 degrees is 1.5708 radians (that is 90 / 180 * PI = 1.5708)
You will need to convert to radians first. 90 degrees is 1.5708 radians (that is 90 / 180 * PI = 1.5708)
R rameshrai Member Mar 17, 2014 #3 thanks, i also had figured it out just yesterday. matlab exp seems only take radian values