This document is a MATLAB code that implements the Lempel-Ziv-Welch (LZW) lossless data compression algorithm. It takes an input message containing repetitive characters, encodes it using the LZW algorithm, and decodes the encoded output back to the original message. The code defines character sets, initializes dictionaries to map characters to numbers and vice versa, encodes the message by iterating through it and updating the dictionaries, and displays the encoded and decoded results.