Polar Coding is a type of line coding that offers good error correction per- formance across a range of coding rates and block lengths. In the case of enhanced mobile broadband communication service (eMBB) for uplink and downlink control information, polar codes are used as channel coding scheme. Two other frameworks foreseen by 5G include massive machine-type commu- nications (mMTC) and ultra-reliable low-latency communications (URLLC). Successive cancellation decoder is most commonly used in the decoding of 5G polar codes. After generating the bit sequence, the process of polar encod- ing starts, and Successive Cancellation Decoding or Successive Cancellation List Decoding algorithm can be used for decoding the bits. Repetition, punc- turing and shortening are the different rate matching techniques that can be used. This paper presents the encoding and decoding chain in 5G systems using MATLAB.