Hadamard matrix generation

This script generates Hadamard matrix.
415 Downloads
Updated 18 Dec 2011

View License

This script generates hadamard matrix which can be used to calculate Hadamard Transform as

H = generate_hadamard(256);
I = phantom(256);
Hr_1d = H*I; %% 1D hadamard transform
Hr_2d = H*I*H'; %% 2D hadamard transform

Cite As

Kamlesh Pawar (2026). Hadamard matrix generation (https://www.mathworks.com/matlabcentral/fileexchange/34252-hadamard-matrix-generation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0