using DCT for taking spectral derivative

Hi, I have use FFT in matlab to take a function's derivative. Since I always work with real data, can I use DCT to do the same thing (because it is supposed to be faster)?
I found an old thread:
But there hasn't been any answers yet.
Could anyone help? Thanks!
Bo

Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Asked:

Bo
on 24 Jun 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!