updownsample
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 (2024). updownsample (https://www.mathworks.com/matlabcentral/fileexchange/4658-updownsample), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Wavelet Toolbox > Denoising and Compression >
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Multirate Signal Processing >
Tags
Acknowledgements
Inspired by: fft_upsample
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 | 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 |