+ Reply to Thread
Results 1 to 5 of 5

FFT function gives strange phase

Hybrid View

  1. #1
    Registered User
    Join Date
    11-30-2012
    Location
    Paris
    MS-Off Ver
    Excel 2007
    Posts
    2

    FFT function gives strange phase

    Hello

    I try to use FFT and then try to rebuild a function using some of the coefficients like formula below
    f(t) for I2 = _c0/2 + _c1*cos( 2*PI()*_f1*A2-_p1 ) + _c2*cos( 2*PI()*_f2*A2-_p2 ) + _c3*cos( 2*PI()*_c3*A2-_c3 )

    where _ci are module of complexe coefficients, _fi are multiple of main frequency, _pi are phases =-arctan(bn/an)

    I have done few tests:
    Input function : f(t)=sin(2*PI()*A2/86400) where A2 is time. For this function I can generate FFT and rebuild g(t)~f(t) using few coefficients

    *but* with Input function : f(t)=t, I need to change the sign of the phases to retrieve g(t)~f(t)

    I have tried for a while checking all formulas w/o success; There is something I don't understand...

    Thanks for your help
    Stchalon

  2. #2
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: FFT function gives strange phase

    Hi Stchalon,

    I've never done this before, so I looked it up...

    Have you tried look at sites like this?

    http://www.ehow.com/how_4670778_four...oft-excel.html

    Let us know if this still doesn't help.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: FFT function gives strange phase

    Post a workbook?
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    11-30-2012
    Location
    Paris
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: FFT function gives strange phase

    Thanks djapigo and Shg.
    I know the site suggested by djapigo. The good news is that when trying to build a workbook to share my issue the problem has gone. So, I think thread can be closed. As I cannot see how to attach a workbook, I cannot share the results with you.

    Thanks again, stchalon

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: FFT function gives strange phase

    As I cannot see how to attach a workbook, ...
    It's explained in the forum rules.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1