fft_upsample
One cannot interpolate a complex number in the form of Real + j*imaginary.
The only way to do interpolation is on the complex representation of an amplitude + phase. But sometimes the phase is not continuous, and given in the modulo(2*pi) representation (such as the result from the "FFT" function).
Using "unwrap" function does not always manage to restore the phase to be continuous, thus interpolation in the Fourier plane is probably the only answer.
This function works on a single or 2 dimensional arrays.
Cite As
Ohad Gal (2024). fft_upsample (https://www.mathworks.com/matlabcentral/fileexchange/3214-fft_upsample), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: updownsample
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 |