Code covered by the BSD License  

Highlights from
wimax physical layer simulation

image thumbnail

wimax physical layer simulation

by

 

Wimax physical layer simulation using mandatory channel coding.

randomizer(data_in)
%%% data randomization

function [data_out] = randomizer(data_in)
D=length(data_in);
State=[1 0 0 1 0 1 0 1 0 0 0 0 0 0 0];  

for k=1:D
    fdB=bitxor(State(14),State(15));
    State=[fdB State(1:end-1)];
    data_out(k,1)=bitxor(data_in(k,1),fdB);
 end

Contact us