fft based dct and idct
显示 更早的评论
Write two MATLAB functions, called mydct.m and myidct.m, that implement the discrete cosine transform (DCT) and its inverse for a vector of length N. Your code should be short (4 lines or less per function, no loops), ecient (it should make use of the fft command), and match the output of MATLAB's dct and idct commands.
I really have problem in solving this simple question. Could anyone help me?
2 个评论
John D'Errico
2015-9-27
I just used google. "dct from fft". surprisingly, I found much there. Ok, maybe not a surprise.
Ericson
2015-9-28
编辑:Walter Roberson
2015-9-28
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!