- #1
mathman44
- 207
- 0
The DCT of an even function is comprised of just cosine coefficients, correct?
I'm playing around in MATLAB and I came up with a simple even function
1.0000
0.7500
0.5000
0.2500
0
0.2500
0.5000
0.7500
1.0000
0.7500
0.5000
0.2500
0
0
0
0
0
0
0.2500
0.5000
0.7500
1.0000
0.7500
0.5000
0.2500
0
0.2500
0.5000
0.7500
1.0000
But get imaginary as well as real outputs when I use the DFT on it. Which means that my function isn't even?
Can anyone help me make sense of this?
I'm playing around in MATLAB and I came up with a simple even function
1.0000
0.7500
0.5000
0.2500
0
0.2500
0.5000
0.7500
1.0000
0.7500
0.5000
0.2500
0
0
0
0
0
0
0.2500
0.5000
0.7500
1.0000
0.7500
0.5000
0.2500
0
0.2500
0.5000
0.7500
1.0000
But get imaginary as well as real outputs when I use the DFT on it. Which means that my function isn't even?
Can anyone help me make sense of this?
Last edited: