Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top