3.2760 does not look like the first element 5.5403 to me ?
Is posible to use "DCT" to reszie data ?
1 次查看(过去 30 天)
显示 更早的评论
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!