www.pudn.com > ldpca.zip > example.m
% Author: David Varodayan (varodayan@stanford.edu) % Date: May 9, 2006 n = 396; % blocklength ladderFile = '396_regDeg3.lad'; % regular degree 3 codes pCrossover = 0.11; % BSC crossover probability source = double(rand(1, n)>0.5); accumSyndrome = encodeBits(source, ladderFile); sideinfo_BSC = mod(source + double( rand(1, n)