fft based dct and idct
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
John D'Errico
le 27 Sep 2015
I just used google. "dct from fft". surprisingly, I found much there. Ok, maybe not a surprise.
Réponses (0)
Voir également
Catégories
En savoir plus sur Transforms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!