A Practical Guide to Error-Control Coding Using MATLAB