Definition type construction of Reed-Muller code, of order R, length 2^M. This function returns the generator matrix for the said order RM code.
Encodes the given message word/block, of column size k, corresponding to the RM(R,M), and outputs a code matrix C, on each row with corresponding codeword. The second return value is the G, which is generator matrix used for this code.
msg = rand (10, 11) > 0.5; [c, g] = reedmullerenc (msg, 2, 4);
See also: reedmullerdec, reedmullergen.
Package: communications