You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Up/down sample an image/matrix/vector (can be of complex numbers) using the frequency domain.
The matrix/vector should be continuous of a high degree (has continuous derivatives) in order to obtain a reasonable up/down sampling
Speed-up can be achieved if the user up-samples to a near power of 2. no optimization is done inside this code for efficient fft usage.
Documentation is found inside the *.m file.
type "updownsample" for the example
Cite As
Ohad Gal (2026). updownsample (https://www.mathworks.com/matlabcentral/fileexchange/4658-updownsample), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: fft_upsample
General Information
- Version 1.0.0.0 (3.1 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | I found a linear phase distortion in the output image (only when looking at a complex or real output image), due to spatial misplace of the input image in the fourier domain |