MATLAB Answers

Is posible to use "DCT" to reszie data ?

1 view (last 30 days)
N K on 15 Feb 2012
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?
Sorry, I give you wrong matrix. V V V
  1 Comment
Walter Roberson
Walter Roberson on 15 Feb 2012
3.2760 does not look like the first element 5.5403 to me ?

Sign in to comment.

Answers (0)



Community Treasure Hunt

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

Start Hunting!