dctt

版本 1.0.0.0 (2.9 KB) 作者: Stephen Becker
type II DCT, improvement to matlab's dct
1.4K 次下载
更新时间 2008/2/26

查看许可证

This code does the same as matlab's dct with a few improvements:

1) on the first call, it's a bit faster than the builtin dct

2) on subsequent calls, due to persistent variables, it's about 2x or more faster than the builtin dct, and only about 1.5x slower than a fft call

3) you can specify which version of the type II DCT you want: either matlab's orthogonal version, or the standard version (cf. fftw website, or wikipedia)

4) you can sample the "rows" of the (implicit) DCT matrix, i.e. sample the rows of the output

This complements the code "idctt".

The extra "t" at the end of the filename has no meaning other than to distinguish it from the builtin dct.

引用格式

Stephen Becker (2024). dctt (https://www.mathworks.com/matlabcentral/fileexchange/18924-dctt), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Fourier Analysis and Filtering 的更多信息
致谢

启发作品: idctt

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0