Multidimensional Discrete Cosine Transform (DCT)

버전 1.5.0.0 (3.74 KB) 작성자: Andriy Myronenko
Fast forward and inverse Multidimensional Discrete Cosine Transforms (DCT, IDCT).
다운로드 수: 4.8K
업데이트 2010/5/6

라이선스 보기

The function is much faster than Matlab's native (dct, idct, dct2, idct2). It also allows N-D (multidimensional) input.

Example:
x=randn(100,200,300);

y=mirt_dctn(x); % forward DCT
x=mirt_idctn(y); % inverse DCT

Find more at my home page:
http://www.bme.ogi.edu/~myron

Enjoy and comment below if you like it!

인용 양식

Andriy Myronenko (2026). Multidimensional Discrete Cosine Transform (DCT) (https://kr.mathworks.com/matlabcentral/fileexchange/24050-multidimensional-discrete-cosine-transform-dct), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Calculus에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.5.0.0

I have made it even faster by using only fft, without ifft, for both forward and inverse dct.

1.4.0.0

Corrected a bug with processing of 1D row vectors. Now it's as fast as with column vectors (and much faster then 1D Matlab's dct, idct)

1.3.0.0

added a screenshot of computational times of mirt_dctn and mirt_idctn vs Matlab's native (dct,idct,dct2,idct2).

1.0.0.0