Hello,

I’ve been going over Tomasz’s example on FFT that he published on with the release of 4.87 beta.

So far so good with the exception of the last plot statement

 

Plot( cos( phase[ sbar * 2 ] + (sbar) * x1 * 2 * 3.1415926 / Len ),

" dominant cycle "+ Len/(sbar) + "(" + sbar + " bin) bars", colorBlue, styleOwnScale );

 

It seems that this statement is plotting the weighting factor of the fourier transform

 

Wk = cos(2πk/N + φ)

Where φ is the phase angle and k is the no of harmonics in the series.

If this is the case, how is it related to the dominant cycle.

 

Any explanations will be greatly appreacriated.

 

Thanks

Paul.

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to