Filter löschen
Filter löschen

Is posible to use "DCT" to reszie data ?

1 Ansicht (letzte 30 Tage)
N K
N K am 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?
Best.
Sorry, I give you wrong matrix. V V V
  1 Kommentar
Walter Roberson
Walter Roberson am 15 Feb. 2012
3.2760 does not look like the first element 5.5403 to me ?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by