gusucode.com > ​BCH 编解码的MATLAB 实现源码程序 > code/bch/creatH.m

    function H=creatH(k,G,r)
G1=G(:,end-r+1:end)
G1=G1';
Ir=eye(r);
H=[G1,Ir];