FFTWN: Round up to efficient FFT integer

Accepts an integer n. Returns m>=n that is an optimum data length for fast FFT computation

Download
Download

You are now following this Submission

Cite As

Andrew Davis (2026). FFTWN: Round up to efficient FFT integer (https://se.mathworks.com/matlabcentral/fileexchange/36705-fftwn-round-up-to-efficient-fft-integer), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

- Removed recursion so large N will work
- Added more description and example 2 to demonstrate potential efficiency advantage

Download
1.0.0

Download