Is posible to use "DCT" to reszie data ?

Dear all.
I have problem about DCT function in matlab.
I want to use dct2 function to calculate data and resize it to 1X1.
For example, I have data matrix like
test=[3.2760 4.4200 1.9000];
Than, I use dct2 function to calculate dct and get data in 1X1.
testDCT = dct2(test,[1,1])
But result is return the first element.
testDCT = 3.2760
Am I wrong, or is it the limit of dct2 function?
Best.
Sorry, I give you wrong matrix. V V V

1 Comment

3.2760 does not look like the first element 5.5403 to me ?

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Tags

Asked:

N K
on 15 Feb 2012

Community Treasure Hunt

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

Start Hunting!