Is posible to use "DCT" on general matrix data?

조회 수: 3 (최근 30일)
N K
N K 2012년 2월 13일
편집: Cedric 2013년 10월 11일
Dear all.
I have some problem to ask you about DCT processing on matrix data.
I can find only dct for image processing only, but no for matrix processing.
for example
I have a matrix like
1 2 3 1
4 5 6 2
7 8 9 3
**** This matrix is not Image matrix.
So, if I want to do DCT on this matrix to reduce from 3X4 to 3X1.
Is it possible to do?
Best.

답변 (1개)

Wayne King
Wayne King 2012년 2월 13일
You can use dct2() from the Image Processing Toolbox on a matrix.
X = randn(16,16);
Y = dct2(X);
You do not tell us what you are trying to use for the DCT, but I'm guessing from the error message that you are not using a MathWorks' function.
  댓글 수: 1
N K
N K 2012년 2월 14일
I want to use MathWork's function. But most of DCT function in matlab is design for image processing.
I think it doesn't match for matrix process which not in image processing.
If I am wrong, could you mind to explain it to me.
Best.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by