www.gusucode.com > MPSK,误码率性能仿真源码程序 > MPSK,误码率性能仿真源码程序/IET_MATLAB/functions/bits.m

    % random bits generation

function out=bits(N)
    out=rand(N,1)>0.5;
end