Maverickmax
Advanced Member level 1
radix 2 fft
Hi
As I am learning to implement FFT algorithm in C. I am aware some of these equations are related to buttefly calculation such as
a+bW^k and a-bW^k and cos(2PI/N)-jsin(2PI/N).
But I am struggling to understand why sin(x)*Im2 are needed in equation 1 and 2. Also cos(x)*Im2 in the equation 3 and 4.
Please help me to understand this concept
Re1 = Re1 + (cos(x)xRe2 + sin(x)*Im2) -> equation 1
Re2 = Re1 - (cos(x)xRe2 + sin(x)*Im2) -> equation 2
Im1 =Im1 + (cos(x)xIm2 - sin(x)*Re2) -> equatio 3
Im1 =Im1 + (cos(x)xIm2 - sin(x)*Re2) -> equation 4
Where
Re1 = Array[index_a]
Re2 = Array[index_b]
Im1 = Array[Index_a]
Im2 = Array[Index_b]
mm
Hi
As I am learning to implement FFT algorithm in C. I am aware some of these equations are related to buttefly calculation such as
a+bW^k and a-bW^k and cos(2PI/N)-jsin(2PI/N).
But I am struggling to understand why sin(x)*Im2 are needed in equation 1 and 2. Also cos(x)*Im2 in the equation 3 and 4.
Please help me to understand this concept
Re1 = Re1 + (cos(x)xRe2 + sin(x)*Im2) -> equation 1
Re2 = Re1 - (cos(x)xRe2 + sin(x)*Im2) -> equation 2
Im1 =Im1 + (cos(x)xIm2 - sin(x)*Re2) -> equatio 3
Im1 =Im1 + (cos(x)xIm2 - sin(x)*Re2) -> equation 4
Where
Re1 = Array[index_a]
Re2 = Array[index_b]
Im1 = Array[Index_a]
Im2 = Array[Index_b]
mm