MATLAB implementation of the soft-cancellation (SCAN) decoder for polar codes.