code for DCT2 in matlab

Hi all
can anybody give me the code for implementing formula that is there for dct2...??
i know there is inbuilt function dct2() in matlab,,,, but i need the code to do the same..
Thanks in advance.

Answers (1)

Kevin Sharp
Kevin Sharp on 7 Jun 2012

1 vote

Just type "dct2" in an editor window. Then right click it an select "open dct2". The code is there.

Tags

Asked:

on 9 Mar 2012

Community Treasure Hunt

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

Start Hunting!