Walsh Hadamard Code – Matlab Simulation

The following is a function to generate a Walsh Hadamard Matrix of given codeword size. The codeword size has to be a power of 2. function [H]=generateHadamardMatrix(codeSize) %[H]=generateHadamardMatrix(codeSize); % Function to generate Walsh-Hadamard Matrix where “codeSize” is the code % length of walsh code. The first matrix gives us two codes; 00, 01. The second … Read more