This is inspired by python/numpy's fftfreq function. There is added functionality here in that if alias_dt is specified, the returned frequencies are the folded (aliased) frequencies one would see if the raw signal were to be subsampled at the slower rate (longer period).
Cite As
Peter Mao (2024). fftfreq (https://www.mathworks.com/matlabcentral/fileexchange/67026-fftfreq), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers
Tags
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 | changed title |