Faster 2D-Hadmard Tranform
This function generates the 2D Walsh or Hadamard Transform of a matrix.
Where the Walsh Transform uses the sequency ordered matrix and the Hadamard the natural/hadamard ordered matrix.
The paley ordered transform is not yet implemented.
On my machine the function can transform matrices of a size up to 4096x4096 in very little time compared to the other 2D Walsh/Hadamard transform (ID 6882) which needs substantially more time.
For a 4096x4096 the transformation takes ~30s on the first call and ~20s after that (Transformation matrix is cashed)
References:
Walsh functions:
http://mathworld.wolfram.com/WalshFunction.html
Howto generate sequency ordered Hadamard Matrices:
http://ieeexplore.ieee.org/iel5/12/35157/01674860.pdf
http://dx.doi.org/
doi:10.1016/j.physletb.2003.10.071
Cite As
Andre (2024). Faster 2D-Hadmard Tranform (https://www.mathworks.com/matlabcentral/fileexchange/20312-faster-2d-hadmard-tranform), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > Hilbert and Walsh-Hadamard Transforms >
Tags
Acknowledgements
Inspired by: Fast 2D Walsh-Hadamard Transform
Inspired: 1D Walsh Transform, Faster 3D Walsh - Hadamard Transform (sequency, natural)
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 | Fixed description spelling. |