version (387 KB) by Ainray
Fourier cosine transform by digital filtering


Updated 26 Nov 2016

View License

This is a matlab version of dlagf0 originally created by Anderson (1974, 1975, 1983).
A version of matlab can also be found from (Ben Barrowes)
which is difficult to read for matlab programmers, and also cannot be applied to discrete functions directly.
So I rewrite it by matlab-like expressions, and we can use it for discrete functions directly.
I test three examples provided by Anderson. All Ok, just run test test_dlagf0.m.The main function
is also renamed as dlagf00.m, where 'd' means double-precesion algorithm and the 'f' means Fourier,
'00' means 'Fourier cosine' transform.
Detail is recommend to consult the Readme.md

Cite As

Ainray (2022). dlagf0 (https://www.mathworks.com/matlabcentral/fileexchange/60408-dlagf0), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: dlagf01

Community Treasure Hunt

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

Start Hunting!