function x = sarkis_systematic_polar_encoder(u, info_bits, frozen_bits, N, lambda_offset, llr_layer_vec)
x = zeros(N, 1);
%First step encoding
x(info_bits) = u;
x = polar_encoder(x, lambda_offset, llr_layer_vec);
%Second step encoding
x(frozen_bits) = 0;
x = polar_encoder(x, lambda_offset, llr_layer_vec);
end


YuYongRun
github-repos/MATLAB/YuYongRun-PolarCodeDecodersInMatlab/PolarCodeDecodersInMatlab-f1b512d10bf057e83f18685ea012d242bdaaf6ac/PolarFastSCL/SystematicPolarEncoders/sarkis_systematic_polar_encoder.m
PolarCodeDecodersInMatlab
github-repos/MATLAB/YuYongRun-PolarCodeDecodersInMatlab
f1b512d10bf057e83f18685ea012d242bdaaf6ac