How to implement Complex exponential functions in C ???

Discussion in 'C' started by Anisha84, Apr 25, 2007.

  1. Anisha84

    Anisha84 New Member

    Joined:
    Apr 25, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi everyone

    I am trying to write a code for an IIR filter. And for that purpose i need to implement the below funtion in C :-

    Now, am facing problem ... wel rather i have no idea , as to how to implement the e^jw function. The value of w is known to me and n = the sample number.

    It would be great if anyone could help me out.
    Thanks a lot !!
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    Post the code you have tried so far, that'll make it easier for people to help you.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice