Fast Chebyshev Transform (1D)
This script allows for fast transformation between nodal and spectral values at the Chebyshev-Gauss-Lobatto points by using the built-in functions fft/ifft. I've tested it with truncation as high as N=2^20 and it takes 1.7820 seconds. This script will handle an arbitrary number of data sets of the same length simultaneously.
Cite As
Greg von Winckel (2024). Fast Chebyshev Transform (1D) (https://www.mathworks.com/matlabcentral/fileexchange/4591-fast-chebyshev-transform-1d), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Digital Filter Design > Chebyshev >
Tags
Acknowledgements
Inspired: sintran - Fast Sine Transform, ORTHPOLYFIT, ORTHPOLYVAL
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Bug fixed in nodal-to-spectral transform |