The DCT of an even function is comprised of just cosine coefficients, correct?(adsbygoogle = window.adsbygoogle || []).push({});

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?

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Discrete Fourier Transform on even function

Loading...

Similar Threads - Discrete Fourier Transform | Date |
---|---|

A Help with Discrete Sine Transform | Sep 29, 2017 |

Discrete Fourier Transform (DFT) Help | Aug 22, 2013 |

Discrete Fourier Transform and Hand-waving | Feb 4, 2013 |

Why complex discrete Fourier transform? | Dec 12, 2012 |

Discrete Fourier transform in k and 1/k | Nov 11, 2012 |

**Physics Forums - The Fusion of Science and Community**